From 92ca826539092f33c8e19a19c7a9ea0def2aece0 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 17 Apr 2023 12:00:55 -0400 Subject: move most configurations to modules --- users/default.nix | 12 +++++++----- users/root/default.nix | 8 -------- 2 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 users/root/default.nix (limited to 'users') diff --git a/users/default.nix b/users/default.nix index 6f5a787..964fc3d 100644 --- a/users/default.nix +++ b/users/default.nix @@ -1,9 +1,11 @@ -{inputs}: +inputs: system: with inputs; { - users = {system}: { - seth = { - pkgs = nixpkgsUnstable.legacyPackages.${system}; - stateVersion = "23.05"; + seth = { + pkgs = import nixpkgsUnstable { + inherit system; + overlays = [nur.overlay getchoo.overlays.default]; }; + + stateVersion = "23.05"; }; } diff --git a/users/root/default.nix b/users/root/default.nix deleted file mode 100644 index a77e461..0000000 --- a/users/root/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{config, ...}: { - users.users.root = { - home = "/root"; - uid = config.ids.uids.root; - group = "root"; - passwordFile = config.age.secrets.rootPassword.path; - }; -} -- cgit v1.2.3