mirror of
https://github.com/nmasur/dotfiles
synced 2026-12-05 11:39:14 +00:00
more darwin cleanup
This commit is contained in:
1 parent
a8f497e226
commit
e22a4f3df2
18 files changed
+116
-103
No files matched your search
@@ -2,4 +2,7 @@
|
||||
|
||||
imports = [ ./user.nix ./timezone.nix ./doas.nix ];
|
||||
|
||||
# Pin a state version to prevent warnings
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
}
|
||||
@@ -2,26 +2,11 @@
|
||||
|
||||
options = {
|
||||
|
||||
user = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Primary user of the system";
|
||||
default = "nixos";
|
||||
};
|
||||
|
||||
passwordHash = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Password created with mkpasswd -m sha-512";
|
||||
};
|
||||
|
||||
userDirs = {
|
||||
# Required to prevent infinite recursion when referenced by himalaya
|
||||
download = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "XDG directory for downloads";
|
||||
default = "$HOME/downloads";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
Reference in new issue
Block a user