refactor: split "real" modules and "config" modules

This commit is contained in:
oddlama 2024-05-25 17:56:30 +02:00
parent 045f15239a
commit cceae6c63c
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
60 changed files with 126 additions and 113 deletions

13
users/config/default.nix Normal file
View file

@ -0,0 +1,13 @@
{
imports = [
../modules
./htop.nix
./impermanence.nix
./neovim.nix
./shell
./utils.nix
];
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
}

View file

@ -1,14 +1,6 @@
{...}: {
{
imports = [
./uid.nix
./secrets.nix
./config/htop.nix
./config/impermanence.nix
./config/neovim.nix
./config/shell
./config/utils.nix
];
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
}

View file

@ -30,7 +30,7 @@ in
home-manager.users.${myuser} = {
imports = [
../modules
../config
./dev
./graphical
./neovim

View file

@ -15,7 +15,7 @@
home-manager.users.root = {
imports = [
../modules
../config
];
home = {