diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-08-24 00:29:34 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-08-24 01:10:29 +0200 |
commit | f4721555d1f15c180504b1363b422f37f2d5b3f0 (patch) | |
tree | 2656cefcf618c5c47768a775b44155ec71af5cfc /flakes/openarc | |
parent | 5e2ec9fb8628136e7f9f618c68c0e42ab086b80e (diff) | |
download | Nix-f4721555d1f15c180504b1363b422f37f2d5b3f0.tar.gz Nix-f4721555d1f15c180504b1363b422f37f2d5b3f0.tar.zst Nix-f4721555d1f15c180504b1363b422f37f2d5b3f0.zip |
Refactor flakes
Second iteration
Diffstat (limited to 'flakes/openarc')
-rw-r--r-- | flakes/openarc/flake.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/flakes/openarc/flake.nix b/flakes/openarc/flake.nix index f47afcf..f4ce653 100644 --- a/flakes/openarc/flake.nix +++ b/flakes/openarc/flake.nix | |||
@@ -102,6 +102,7 @@ | |||
102 | }; | 102 | }; |
103 | 103 | ||
104 | config = lib.mkIf cfg.enable { | 104 | config = lib.mkIf cfg.enable { |
105 | nixpkgs.overlays = [ self.overlay ]; | ||
105 | users.users = lib.optionalAttrs (cfg.user == "openarc") { | 106 | users.users = lib.optionalAttrs (cfg.user == "openarc") { |
106 | openarc = { | 107 | openarc = { |
107 | group = cfg.group; | 108 | group = cfg.group; |
@@ -113,7 +114,7 @@ | |||
113 | openarc.gid = myuids.lib.gids.openarc; | 114 | openarc.gid = myuids.lib.gids.openarc; |
114 | }; | 115 | }; |
115 | 116 | ||
116 | environment.systemPackages = [ self.defaultPackage."${pkgs.system}" ]; | 117 | environment.systemPackages = [ pkgs.openarc ]; |
117 | 118 | ||
118 | systemd.services.openarc = { | 119 | systemd.services.openarc = { |
119 | description = "OpenARC daemon"; | 120 | description = "OpenARC daemon"; |