Moved modules into appropriate folders

This commit is contained in:
pazpi 2024-08-27 11:09:20 +02:00
parent 48dcf38304
commit 3760c929fe
9 changed files with 18 additions and 8 deletions

View file

@ -4,13 +4,11 @@
./desktop
./networking
./services
./systems
./utils
./virtualisation
# Files
./btrfs-autoscrub.nix
./commons.nix
./main-user.nix
./audio.nix
];
}

View file

@ -1,5 +1,8 @@
{
imports = [
./audio.nix
./desktop-user.nix
./esphome.nix
./gnome.nix
./plymouth.nix
./steam.nix

View file

@ -5,11 +5,11 @@
...
}:
let
cfg = config.mainUser;
cfg = config.desktopUser;
in
{
options.mainUser = {
enable = lib.mkEnableOption "Enable user module";
options.desktopUser = {
enable = lib.mkEnableOption "Enable desktop user module";
userName = lib.mkOption {
default = "pazpi";
@ -56,7 +56,6 @@ in
with pkgs;
lib.mkIf cfg.flatpak [
flatpak
gnome.gnome-software
];
};

View file

@ -0,0 +1,5 @@
{
imports = [
./btrfs-autoscrub.nix
]
}

View file

@ -0,0 +1,5 @@
{
imports = [
./commons.nix
];
}