tidied home/users
This commit is contained in:
parent
584399d8d3
commit
8423caf38f
1 changed files with 10 additions and 19 deletions
|
|
@ -8,12 +8,18 @@
|
||||||
inputs.home-manager.nixosModules.default # home-manager module
|
inputs.home-manager.nixosModules.default # home-manager module
|
||||||
../../home # home-manager configuration
|
../../home # home-manager configuration
|
||||||
|
|
||||||
## misc.
|
|
||||||
#../resources
|
|
||||||
|
|
||||||
## Users
|
## Users
|
||||||
#./u-username
|
#./u-username
|
||||||
|
|
||||||
|
## User themes -
|
||||||
|
## to set a different theme for a user,
|
||||||
|
## create a theme by copying an existing
|
||||||
|
## one as a template and import it here,
|
||||||
|
## then - I haven't figured it out yet :D
|
||||||
|
#../resources # eventually have all theme imports automated
|
||||||
|
../resources/themes # base theme options
|
||||||
|
../resources/themes/SerenityOS.nix # default theme
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
## Primary user configuration -
|
## Primary user configuration -
|
||||||
|
|
@ -46,9 +52,7 @@
|
||||||
};
|
};
|
||||||
users = {
|
users = {
|
||||||
${primaryUser} = {
|
${primaryUser} = {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
## Home configuration -
|
## Home configuration -
|
||||||
## currently all users share the same home
|
## currently all users share the same home
|
||||||
## configuration, though each has separate
|
## configuration, though each has separate
|
||||||
|
|
@ -56,29 +60,16 @@
|
||||||
## can be declared alongside `u-username/default.nix`
|
## can be declared alongside `u-username/default.nix`
|
||||||
## and then imported in this section.
|
## and then imported in this section.
|
||||||
../../home
|
../../home
|
||||||
|
|
||||||
## Themes -
|
|
||||||
## to set a different theme for a user,
|
|
||||||
## create a theme by copying `SerenityOS.nix`
|
|
||||||
## as a template and import it in this section
|
|
||||||
## of the users individual configuration.
|
|
||||||
../resources/themes # imports base theme options
|
|
||||||
../resources/themes/SerenityOS.nix # user theme
|
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = "${primaryUser}";
|
username = "${primaryUser}";
|
||||||
homeDirectory = "/home/${primaryUser}";
|
homeDirectory = "/home/${primaryUser}";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
backupFileExtension = "backup"; # prevents errors on activation
|
backupFileExtension = "backup"; # prevents errors on activation
|
||||||
useGlobalPkgs = true; # ensures all packages declared follow -
|
useGlobalPkgs = true; # ensures all packages declared follow -
|
||||||
useUserPackages = true; # the same nix-channel as in the flake.nix
|
useUserPackages = true; # the same nix-channel as in the flake.nix
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue