summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorseth <[email protected]>2023-04-17 12:00:55 -0400
committerseth <[email protected]>2023-04-17 12:01:21 -0400
commit92ca826539092f33c8e19a19c7a9ea0def2aece0 (patch)
treec6ff98c3f645f189b559bc1a69904fec217a946c /users
parent98921a299be9f22bde9204e1fd05d0ea0fb0c6ed (diff)
move most configurations to modules
Diffstat (limited to 'users')
-rw-r--r--users/default.nix12
-rw-r--r--users/root/default.nix8
2 files changed, 7 insertions, 13 deletions
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;
- };
-}