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; inherit system;
config = { allowUnfree = true; }; config = { allowUnfree = true; };
overlays = [ overlays = [
emacs.overlay emacs.overlays.default
(self: super: (self: super:
{ {
@ -167,6 +167,11 @@ nix = {
extraOptions = "experimental-features = nix-command flakes"; extraOptions = "experimental-features = nix-command flakes";
package = pkgs.nixVersions.unstable; package = pkgs.nixVersions.unstable;
}; };
nixpkgs.config.permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
];
#+end_src #+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. 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 = { displayManager = {
startx.enable = true; startx.enable = true;
sddm = { sddm = {
enable = false; enable = true;
}; };
session = [ session = [
{ {
@ -204,10 +209,10 @@ services.xserver = {
}; };
services.greetd = { services.greetd = {
enable = true; enable = false;
settings = rec { settings = rec {
initial_session = { initial_session = {
command = "dbus-launch startplasma-wayland"; command = "dbus-launch systemctl --user restart plasma-run-with-systemd.service";
user = "chris"; user = "chris";
}; };
default_session = initial_session; default_session = initial_session;
@ -618,6 +623,12 @@ services.emacs = {
org-roam-ui org-roam-ui
org-present org-present
org-modern org-modern
org-re-reveal
org-re-reveal-ref
org-re-reveal-citeproc
ox-reveal
oer-reveal
ox-spectacle
unicode-fonts unicode-fonts
emojify emojify
undo-tree undo-tree
@ -2506,6 +2517,11 @@ I also use home-manager for managing dotfiles. This means that everything is con
} }
#+end_src #+end_src
*** Plasma
Plasma manager helps me to configure plasma declaratively.
* Thanks! * Thanks!
* EXTRA * EXTRA

View file

@ -219,7 +219,7 @@ alias nupd "update-nix"
alias nupg "upgrade-nix" alias nupg "upgrade-nix"
alias nixs "nix search nixpkgs" alias nixs "nix search nixpkgs"
alias myip "curl icanhazip.com" 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 ### Start X at login
if status is-login if status is-login

View file

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

View file

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

View file

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