tweak: user-parts options
This commit is contained in:
parent
29c23b9d96
commit
d72d609376
1 changed files with 2 additions and 8 deletions
|
|
@ -12,12 +12,6 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
|
|
||||||
username = "serenity";
|
|
||||||
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
@ -45,7 +39,7 @@
|
||||||
#};
|
#};
|
||||||
|
|
||||||
# nixos user declaration
|
# nixos user declaration
|
||||||
users.users.${username} = {
|
users.users.${user-parts.user.username} = {
|
||||||
|
|
||||||
# remember to change this
|
# remember to change this
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
|
|
@ -75,7 +69,7 @@
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
||||||
# home manager user declaration
|
# home manager user declaration
|
||||||
users.${username} = {
|
users.${user-parts.user.username} = {
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue