diff options
| author | Caroline Larimore <caroline@larimo.re> | 2024-07-25 23:47:37 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2024-07-25 23:47:37 -0700 |
| commit | cf45a3d4dccccb118760c0b3a06014def8748ce7 (patch) | |
| tree | 2f94cc026c8a42d9dca31f054bb065c5380aa62c | |
| parent | c0be0608d096a7ab45ea073e2607ddedcb073422 (diff) | |
roles: home: desktop: generate ~/.Xresources
| -rw-r--r-- | hosts/c-pc/home.nix | 8 | ||||
| -rw-r--r-- | hosts/phoenix/home.nix | 8 | ||||
| -rw-r--r-- | roles/home/desktop/default.nix | 11 |
3 files changed, 13 insertions, 14 deletions
diff --git a/hosts/c-pc/home.nix b/hosts/c-pc/home.nix index 3cba16d..7dbbb0a 100644 --- a/hosts/c-pc/home.nix +++ b/hosts/c-pc/home.nix @@ -63,10 +63,6 @@ ".config/nicotine" ".local/share/nicotine" ]; - - files = [ - ".Xresources" - ]; }; home.persistence."/persist/secure/home" = { @@ -83,7 +79,7 @@ enable = true; key = "314C14641E707B68"; }; - + desktop.enable = true; }; @@ -116,8 +112,6 @@ pfetch - kdePackages.breeze - irssi qbittorrent diff --git a/hosts/phoenix/home.nix b/hosts/phoenix/home.nix index 663b8e5..930774c 100644 --- a/hosts/phoenix/home.nix +++ b/hosts/phoenix/home.nix @@ -54,10 +54,6 @@ ".local/share/lutris" ".local/share/PrismLauncher" ]; - - files = [ - ".Xresources" - ]; }; home.roles = { @@ -65,7 +61,7 @@ enable = true; key = ""; #TODO: create signing key for phoenix }; - + desktop.enable = true; }; @@ -96,8 +92,6 @@ pfetch - kdePackages.breeze - qbittorrent jellyfin-media-player diff --git a/roles/home/desktop/default.nix b/roles/home/desktop/default.nix index 83192da..7f37b1c 100644 --- a/roles/home/desktop/default.nix +++ b/roles/home/desktop/default.nix @@ -65,5 +65,16 @@ let cfg = config.home.roles.desktop; in { flameshot.enable = cfg.screenshot; }; + + home = { + packages = with pkgs; [ + kdePackages.breeze + ]; + + file.".Xresources".text = '' + Xcursor.size: 24 + Xcursor.theme: breeze_cursors + ''; + }; }; } |