Moved modules into appropriate folders
This commit is contained in:
parent
48dcf38304
commit
3760c929fe
9 changed files with 18 additions and 8 deletions
|
|
@ -4,13 +4,11 @@
|
|||
./desktop
|
||||
./networking
|
||||
./services
|
||||
./systems
|
||||
./utils
|
||||
./virtualisation
|
||||
|
||||
# Files
|
||||
./btrfs-autoscrub.nix
|
||||
./commons.nix
|
||||
./main-user.nix
|
||||
./audio.nix
|
||||
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
./audio.nix
|
||||
./desktop-user.nix
|
||||
./esphome.nix
|
||||
./gnome.nix
|
||||
./plymouth.nix
|
||||
./steam.nix
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
||||
5
modules/systems/default.nix
Normal file
5
modules/systems/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./btrfs-autoscrub.nix
|
||||
]
|
||||
}
|
||||
5
modules/utils/default.nix
Normal file
5
modules/utils/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
imports = [
|
||||
./commons.nix
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue