feat(server): split some shell related settings.
This commit is contained in:
parent
124d369c18
commit
7a20e3c6ac
@ -1,5 +1,4 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
@ -14,9 +13,6 @@
|
||||
home.packages = with pkgs; [
|
||||
alejandra
|
||||
age
|
||||
nix-output-monitor
|
||||
nvd
|
||||
nurl
|
||||
entr
|
||||
ffmpeg
|
||||
imagemagick
|
||||
@ -27,9 +23,6 @@
|
||||
aria2
|
||||
commitizen
|
||||
license-go
|
||||
termsonic
|
||||
inputs.iamb.packages.x86_64-linux.default
|
||||
toot
|
||||
];
|
||||
|
||||
# Enable nix-index
|
||||
|
@ -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…
x
Reference in New Issue
Block a user