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 ./desktop
./networking ./networking
./services ./services
./systems
./utils
./virtualisation ./virtualisation
# Files # Files
./btrfs-autoscrub.nix ./btrfs-autoscrub.nix
./commons.nix
./main-user.nix
./audio.nix
]; ];
} }

View file

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

View file

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

View file

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

View file

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