diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 01:17:08 +0000 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-07-08 01:17:08 +0000 |
| commit | 2006018e7a280f70c9a7d9efc70632fbb86059ac (patch) | |
| tree | 07c5bc0155ad75a07a093a77668ca89c9f18b010 /modules/desktop | |
| parent | ccfe06ffcf61daef56cfe0e5d3488dcb5df00bc8 (diff) | |
.source -> .text where possible
Diffstat (limited to 'modules/desktop')
| -rw-r--r-- | modules/desktop/system/components/dunst.nix | 4 | ||||
| -rw-r--r-- | modules/desktop/system/environments/sway.nix | 8 | ||||
| -rw-r--r-- | modules/desktop/system/programs/foot.nix | 6 |
3 files changed, 7 insertions, 11 deletions
diff --git a/modules/desktop/system/components/dunst.nix b/modules/desktop/system/components/dunst.nix index 37fce2b..9dfaa80 100644 --- a/modules/desktop/system/components/dunst.nix +++ b/modules/desktop/system/components/dunst.nix @@ -6,7 +6,7 @@ }: let cfg = config.collinux.desktop.components.dunst; - settings = pkgs.writeText "dunstrc" '' + settings = '' [global] frame_color = "#89b4fa" separator_color = frame @@ -32,7 +32,7 @@ in lib.mkIf cfg.enable { hjem.users."${config.collinux.user.name}" = { - files.".config/dunst/dunstrc".source = settings; + files.".config/dunst/dunstrc".text = settings; packages = [pkgs.dunst pkgs.inotify-tools]; }; } diff --git a/modules/desktop/system/environments/sway.nix b/modules/desktop/system/environments/sway.nix index 880095b..2e0d2d1 100644 --- a/modules/desktop/system/environments/sway.nix +++ b/modules/desktop/system/environments/sway.nix @@ -6,7 +6,7 @@ }: let cfg = config.collinux.desktop.sway; - colors = pkgs.writeText "catppuccin-mocha" '' + colors = '' set $rosewater #f5e0dc set $flamingo #f2cdcd set $pink #f5c2e7 @@ -35,7 +35,7 @@ set $crust #11111b ''; - settings = pkgs.writeText "config" '' + settings = '' exec ${pkgs.foot}/bin/foot --server exec ${pkgs.swaybg}/bin/swaybg -i ${config.collinux.desktop.wallpaper} exec ${pkgs.dunst}/bin/dunst @@ -92,8 +92,8 @@ in lib.mkIf cfg.enable { hjem.users."${config.collinux.user.name}" = { files = { - ".config/sway/config".source = settings; - ".config/sway/catppuccin-mocha".source = colors; + ".config/sway/config".text = settings; + ".config/sway/catppuccin-mocha".text = colors; }; packages = [pkgs.sway pkgs.bc]; diff --git a/modules/desktop/system/programs/foot.nix b/modules/desktop/system/programs/foot.nix index fe93901..8c9edbe 100644 --- a/modules/desktop/system/programs/foot.nix +++ b/modules/desktop/system/programs/foot.nix @@ -10,11 +10,7 @@ settings = ini'.generate "foot.ini" { main = { font = "Iosevka Nerd Font:size=12"; - shell = - # if config.collinux.terminal.programs.tmux.enable - # then "${pkgs.tmux}/bin/tmux" - # else - "${pkgs.fish}/bin/fish"; + shell = "${pkgs.fish}/bin/fish"; }; cursor.color = "11111b f5e0dc"; |
