my system configurations ^-^
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: use inherit instead of assignment

willow e5a7220f b2a96e38

+4 -4
+1 -1
modules/nixos/default.nix
··· 24 24 ]; 25 25 26 26 users.users.${user.name} = { 27 + inherit (user) home; 27 28 isNormalUser = true; 28 29 extraGroups = ["networkmanager" "wheel" "dialout"]; 29 - home = user.home; 30 30 shell = pkgs.zsh; 31 31 initialHashedPassword = ""; 32 32 openssh.authorizedKeys.keyFiles = keys;
+3 -3
modules/shared/nix/age.nix
··· 15 15 mode ? "400", 16 16 ... 17 17 }: { 18 - file = "${self}/secrets/${file}.age"; 19 - owner = user.name; 20 - group = user.group; 21 18 inherit mode; 19 + inherit (user) group; 20 + owner = user.name; 21 + file = "${self}/secrets/${file}.age"; 22 22 }; 23 23 in { 24 24 imports = [