add guix
This commit is contained in:
parent
f0e7a985aa
commit
7b599a1d50
3 changed files with 20 additions and 0 deletions
|
|
@ -27,6 +27,7 @@
|
|||
};
|
||||
i18n.enable = true;
|
||||
programs = {
|
||||
guix.enable = true;
|
||||
dae.enable = true;
|
||||
openssh.enable = true;
|
||||
steam.enable = true;
|
||||
|
|
|
|||
|
|
@ -20,5 +20,6 @@
|
|||
./nix-ld.nix
|
||||
./juicity
|
||||
./miniflux.nix
|
||||
./guix.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
18
nixos/modules/programs/guix.nix
Normal file
18
nixos/modules/programs/guix.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.youthlic.programs.guix;
|
||||
in
|
||||
{
|
||||
options = {
|
||||
youthlic.programs.guix = {
|
||||
enable = lib.mkEnableOption "guix";
|
||||
};
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.guix = {
|
||||
enable = true;
|
||||
gc.enable = true;
|
||||
publish.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue