moved home manager user configuration to dedicated files
This commit is contained in:
parent
472aabee2a
commit
8b3ab52435
3 changed files with 84 additions and 80 deletions
35
aspects/users/user_rotterdam.nix
Normal file
35
aspects/users/user_rotterdam.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ inputs, lib, ... }:
|
||||
|
||||
{
|
||||
flake.homeConfigurations = {
|
||||
"user@rotterdam" = inputs.home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
hostname = "rotterdam";
|
||||
};
|
||||
modules = [
|
||||
{ nixpkgs.overlays = [ inputs.self.overlays.default ]; }
|
||||
{
|
||||
home = {
|
||||
username = "user";
|
||||
homeDirectory = "/home/user";
|
||||
stateVersion = "22.05";
|
||||
};
|
||||
}
|
||||
((inputs.import-tree.initFilter (p: lib.hasSuffix ".nix" p)) ./_user)
|
||||
]
|
||||
++ (with inputs.self.modules.homeManager; [
|
||||
# system aspects
|
||||
base
|
||||
cli
|
||||
desktop
|
||||
gaming
|
||||
|
||||
# other aspects
|
||||
stylix
|
||||
niri
|
||||
]);
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue