Add fun package set
This commit is contained in:
parent
ecba64e78c
commit
87bd96875d
@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./gaming.nix
|
||||
./multimedia.nix
|
||||
./fun.nix
|
||||
];
|
||||
}
|
||||
|
28
system/package-sets/fun.nix
Normal file
28
system/package-sets/fun.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ pkgs, config, lib, ...}:
|
||||
let
|
||||
cfg = config.nixfiles.packageSets.fun;
|
||||
in
|
||||
{
|
||||
|
||||
options.nixfiles.packageSets.fun = {
|
||||
enable = lib.mkEnableOption "fun package set";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
cowsay
|
||||
uwufetch
|
||||
fortune
|
||||
pipes
|
||||
hollywood
|
||||
sl
|
||||
figlet
|
||||
aafire
|
||||
asciiquarium
|
||||
] + lib.optionals config.services.xserver.enable [
|
||||
oneko
|
||||
bucklespring
|
||||
] + lib.optionals config.sound.enable [
|
||||
espeak
|
||||
];
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user