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