diff options
Diffstat (limited to 'configuration.nix')
| -rw-r--r-- | configuration.nix | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/configuration.nix b/configuration.nix index 4bdff80..0f42365 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,9 +1,13 @@ -{lib, ...}: { +{ + lib, + machine, + ... +}: { boot.loader = { efi.canTouchEfiVariables = true; systemd-boot.enable = true; }; - environment.persistence."/persist" = { + environment.persistence."/nix/persist" = { enable = true; hideMounts = true; directories = [ @@ -15,18 +19,22 @@ ]; files = [ "/etc/machine-id" - "/etc/shadow" - "/etc/shadow-" - "/etc/passwd" - "/etc/passwd-" "/etc/ly/save.txt" ]; - users."mtgmonkey" = { + users."andromeda" = { directories = [ - "conf" - "Downloads" ".backups" + ".local/share/Anki2" + ".local/share/chat.fluffy.fluffychat" + ".local/share/zoxide" ".ssh" + "conf" + "Downloads" + "pp" + ]; + files = [ + ".bash_history" + ".brush_history" ]; }; }; @@ -38,7 +46,7 @@ networking = { dhcpcd.enable = true; firewall.enable = true; - hostName = "nixos"; + hostName = machine.hostname; networkmanager.enable = true; }; nix.settings.experimental-features = [ @@ -68,9 +76,9 @@ }; system.stateVersion = "26.05"; time.timeZone = "Europe/Berlin"; - users.users."mtgmonkey" = { + users.users."andromeda" = { isNormalUser = true; - description = "mtgmonkey"; + description = "andromeda"; initialPassword = "password"; extraGroups = [ "networkmanager" |
