diff --git a/modules/clipboard/default.nix b/modules/clipboard/default.nix new file mode 100644 index 0000000..abebd44 --- /dev/null +++ b/modules/clipboard/default.nix @@ -0,0 +1,23 @@ +{ inputs, ... }: +{ + flake.modules.nixos.clipboard = + { pkgs, ... }: + + { + environment.systemPackages = with pkgs; [ + wl-clipboard + cliphist + ]; + + home-manager.sharedModules = [ + inputs.self.modules.homeManager.clipboard + ]; + }; + + flake.modules.homeManager.clipboard = + { pkgs, ... }: + { + # Watch clipboard and store history via cliphist + services.cliphist.enable = true; + }; +} diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index f8df02d..41cb7ca 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -47,6 +47,16 @@ size = 24; }; }; + + home.sessionVariables = { + XCURSOR_THEME = "Bibata-Modern-Ice"; + XCURSOR_SIZE = "24"; + }; + + home.file.".icons/default/index.theme".text = '' + [Icon Theme] + Inherits=Bibata-Modern-Ice + ''; }; # TODO: Persist ~/.config/cosmic after setup diff --git a/modules/hosts/dnsc-machine/default.nix b/modules/hosts/dnsc-machine/default.nix index b1604d7..3d668ed 100644 --- a/modules/hosts/dnsc-machine/default.nix +++ b/modules/hosts/dnsc-machine/default.nix @@ -17,6 +17,7 @@ in nvidia-graphics drawing-tablet bluetooth + clipboard printing desktop terminal