feat: add config for new device

This commit is contained in:
2026-01-31 13:42:01 +01:00
parent 39da2abe9c
commit af8d71cc70
5 changed files with 66 additions and 28 deletions
-11
View File
@@ -72,17 +72,6 @@
LC_TIME = "de_DE.UTF-8";
};
users.users = {
leonhard = {
# You can set an initial password for your user.
# If you do, you can skip setting a root password by passing '--no-root-passwd' to nixos-install.
# Be sure to change it (using passwd) after rebooting!
initialPassword = "leonhard";
isNormalUser = true;
extraGroups = [ "wheel" ];
};
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "25.11";
}
+8
View File
@@ -27,5 +27,13 @@
# pulse.enable = true;
# };
users.users = {
leonhard = {
initialPassword = "leonhard";
isNormalUser = true;
extraGroups = [ "wheel" ];
};
};
networking.hostName = "desktop";
}
+21
View File
@@ -0,0 +1,21 @@
{
inputs,
outputs,
...
}:
{
imports = [
(import ../base.nix { inherit inputs outputs; })
./hardware-configuration.nix
];
users.users = {
leonhard = {
initialPassword = "leonhard";
isNormalUser = true;
extraGroups = [ "wheel" ];
};
};
networking.hostName = "server";
}