Fix double declaration issue when importing custom packages

This commit is contained in:
GHOSCHT 2023-12-26 22:07:13 +01:00
parent 279d309c73
commit 6d78f64de1
Signed by: ghoscht
GPG key ID: 2C2C1C62A5388E82

View file

@ -8,7 +8,6 @@
}: let }: let
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups; ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
in { in {
imports = builtins.attrValues outputs.nixosModules; #propagates imports downwards
users.users.${vars.user} = { users.users.${vars.user} = {
isNormalUser = true; isNormalUser = true;
shell = pkgs.fish; shell = pkgs.fish;