changed structure quite significantly

This commit is contained in:
Serenity-F 2024-04-03 12:00:54 +10:00
parent 6a7cda5ba5
commit a905e2dc3d
18 changed files with 15 additions and 13 deletions

View file

@ -1,7 +0,0 @@
{
import = [
./home.nix
];
}

View file

@ -6,7 +6,7 @@
"${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix" "${builtins.fetchTarball "https://github.com/nix-community/disko/archive/master.tar.gz"}/module.nix"
./disko-config.nix ./disko-config.nix
./hardware-configuration.nix ./hardware-configuration.nix
../../configuration.nix ../../modules
]; ];
# Enable swap on luks # Enable swap on luks

10
modules/core/default.nix Normal file
View file

@ -0,0 +1,10 @@
{
imports = [
./configuration.nix
./services
./packages
./network
];
}

View file

@ -1,9 +1,8 @@
{ {
imports = [ import = [
./services ./core
./packages ./home.nix
./network
]; ];
} }

View file

@ -4,7 +4,7 @@
imports = [ imports = [
# ./users # ./users
./dots ./home
]; ];
programs.home-manager.enable = true; programs.home-manager.enable = true;