restructure
This commit is contained in:
parent
d7bd686648
commit
eecb15a4ec
50 changed files with 281 additions and 564 deletions
29
modules/home/default.nix
Normal file
29
modules/home/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ config, ... }: let
|
||||
imp = if config.minimal then [
|
||||
./browser
|
||||
./communication
|
||||
./niri-setup
|
||||
./programs
|
||||
./themes
|
||||
./utils
|
||||
] else [
|
||||
./utils
|
||||
];
|
||||
in {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.twoneis = {
|
||||
imports = imp;
|
||||
|
||||
home = {
|
||||
username = "twoneis";
|
||||
homeDirectory = "/home/twoneis";
|
||||
|
||||
stateVersion = "22.11";
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue