adding emacs packages overlay and using sddm

This commit is contained in:
Chris Cochrun 2022-12-13 09:32:49 -06:00
parent c83219239b
commit 1bece25e37
5 changed files with 50 additions and 12 deletions

View file

@ -63,7 +63,7 @@ Both include the home-manager module. Primarily I chose that route so that I cou
inherit system;
config = { allowUnfree = true; };
overlays = [
emacs.overlay
emacs.overlays.default
(self: super:
{
@ -167,6 +167,11 @@ nix = {
extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixVersions.unstable;
};
nixpkgs.config.permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
];
#+end_src
I use plasma and awesome mostly as my desktop. Also all desktops will likely need ntfs support in order to work with windows devices.
@ -183,7 +188,7 @@ services.xserver = {
displayManager = {
startx.enable = true;
sddm = {
enable = false;
enable = true;
};
session = [
{
@ -204,10 +209,10 @@ services.xserver = {
};
services.greetd = {
enable = true;
enable = false;
settings = rec {
initial_session = {
command = "dbus-launch startplasma-wayland";
command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
user = "chris";
};
default_session = initial_session;
@ -618,6 +623,12 @@ services.emacs = {
org-roam-ui
org-present
org-modern
org-re-reveal
org-re-reveal-ref
org-re-reveal-citeproc
ox-reveal
oer-reveal
ox-spectacle
unicode-fonts
emojify
undo-tree
@ -2506,6 +2517,11 @@ I also use home-manager for managing dotfiles. This means that everything is con
}
#+end_src
*** Plasma
Plasma manager helps me to configure plasma declaratively.
* Thanks!
* EXTRA

View file

@ -219,7 +219,7 @@ alias nupd "update-nix"
alias nupg "upgrade-nix"
alias nixs "nix search nixpkgs"
alias myip "curl icanhazip.com"
alias ytd "yt-dlp -o ~/Videos/%(title)s.%(ext)s"
alias ytd "yt-dlp -o \"~/Videos/%(title)s.%(ext)s\" $1"
### Start X at login
if status is-login

View file

@ -36,7 +36,7 @@
inherit system;
config = { allowUnfree = true; };
overlays = [
emacs.overlay
emacs.overlays.default
(self: super:
{

View file

@ -11,6 +11,11 @@
package = pkgs.nixVersions.unstable;
};
nixpkgs.config.permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
];
# Use the systemd-boot EFI boot loader.
boot = {
kernelPackages = pkgs.linuxPackages_zen;
@ -95,7 +100,7 @@
displayManager = {
startx.enable = true;
sddm = {
enable = false;
enable = true;
};
session = [
{
@ -116,10 +121,10 @@
};
services.greetd = {
enable = true;
enable = false;
settings = rec {
initial_session = {
command = "dbus-launch startplasma-wayland";
command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
user = "chris";
};
default_session = initial_session;
@ -475,6 +480,12 @@
org-roam-ui
org-present
org-modern
org-re-reveal
org-re-reveal-ref
org-re-reveal-citeproc
ox-reveal
oer-reveal
ox-spectacle
unicode-fonts
emojify
undo-tree

View file

@ -11,6 +11,11 @@
package = pkgs.nixVersions.unstable;
};
nixpkgs.config.permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
];
# Use the systemd-boot EFI boot loader.
boot.kernelPackages = pkgs.linuxPackages_zen;
boot.loader.systemd-boot.enable = true;
@ -88,7 +93,7 @@
displayManager = {
startx.enable = true;
sddm = {
enable = false;
enable = true;
};
session = [
{
@ -109,10 +114,10 @@
};
services.greetd = {
enable = true;
enable = false;
settings = rec {
initial_session = {
command = "dbus-launch startplasma-wayland";
command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
user = "chris";
};
default_session = initial_session;
@ -461,6 +466,12 @@
org-roam-ui
org-present
org-modern
org-re-reveal
org-re-reveal-ref
org-re-reveal-citeproc
ox-reveal
oer-reveal
ox-spectacle
unicode-fonts
emojify
undo-tree