feat(server): split some shell related settings.
This commit is contained in:
parent
124d369c18
commit
7a20e3c6ac
3 changed files with 24 additions and 7 deletions
|
@ -12,6 +12,7 @@
|
|||
./obs-studio.nix
|
||||
./restic.nix
|
||||
./scripts.nix
|
||||
./shell-additions.nix
|
||||
];
|
||||
|
||||
crony.mangohud.enable = lib.mkDefault true;
|
||||
|
@ -26,4 +27,5 @@
|
|||
crony.emulators.enable = lib.mkDefault true;
|
||||
crony.desktop.enable = lib.mkDefault true;
|
||||
crony.gaming.enable = lib.mkDefault true;
|
||||
crony.shell-additions.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
22
modules/linux/home-manager/shell-additions.nix
Normal file
22
modules/linux/home-manager/shell-additions.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
crony.shell-additions.enable = lib.mkEnableOption "Enable additional shell software.";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.crony.shell-additions.enable {
|
||||
home.packages = with pkgs; [
|
||||
nix-output-monitor
|
||||
nvd
|
||||
nurl
|
||||
termsonic
|
||||
inputs.iamb.packages.x86_64-linux.default
|
||||
toot
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue