some more fixes
This commit is contained in:
parent
c855979239
commit
23de7e39b4
3 changed files with 34 additions and 0 deletions
23
modules/clipboard/default.nix
Normal file
23
modules/clipboard/default.nix
Normal file
|
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -47,6 +47,16 @@
|
||||||
size = 24;
|
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
|
# TODO: Persist ~/.config/cosmic after setup
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ in
|
||||||
nvidia-graphics
|
nvidia-graphics
|
||||||
drawing-tablet
|
drawing-tablet
|
||||||
bluetooth
|
bluetooth
|
||||||
|
clipboard
|
||||||
printing
|
printing
|
||||||
desktop
|
desktop
|
||||||
terminal
|
terminal
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue