reorganized module structure
Before Width: | Height: | Size: 2.7 MiB After Width: | Height: | Size: 2.7 MiB |
Before Width: | Height: | Size: 716 KiB After Width: | Height: | Size: 716 KiB |
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 3 MiB After Width: | Height: | Size: 3 MiB |
Before Width: | Height: | Size: 7.4 MiB After Width: | Height: | Size: 7.4 MiB |
Before Width: | Height: | Size: 4.6 MiB After Width: | Height: | Size: 4.6 MiB |
Before Width: | Height: | Size: 5.6 MiB After Width: | Height: | Size: 5.6 MiB |
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
Before Width: | Height: | Size: 1 MiB After Width: | Height: | Size: 1 MiB |
Before Width: | Height: | Size: 7.6 MiB After Width: | Height: | Size: 7.6 MiB |
Before Width: | Height: | Size: 4.7 MiB After Width: | Height: | Size: 4.7 MiB |
Before Width: | Height: | Size: 4 MiB After Width: | Height: | Size: 4 MiB |
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 4.1 MiB |
|
@ -28,5 +28,5 @@
|
||||||
extraConfig = {XDG_SRC_DIR = "${config.home.homeDirectory}/src";};
|
extraConfig = {XDG_SRC_DIR = "${config.home.homeDirectory}/src";};
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.dataFile."backgrounds/".source = ./files/wallpapers;
|
xdg.dataFile."backgrounds/".source = ../files/wallpapers;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,9 +34,9 @@
|
||||||
zramSwap = {enable = true;};
|
zramSwap = {enable = true;};
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopConfig = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManagers.hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
homeLab.enable = true;
|
homeLab.enable = true;
|
||||||
desktopConfig.enable = true;
|
desktop.enable = true;
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
flatpak.enable = true;
|
flatpak.enable = true;
|
||||||
|
|
|
@ -71,9 +71,9 @@ in {
|
||||||
|
|
||||||
environment.systemPackages = [cs-adjuster cs-adjuster-plasma pp-adjuster];
|
environment.systemPackages = [cs-adjuster cs-adjuster-plasma pp-adjuster];
|
||||||
|
|
||||||
desktopConfig = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManagers.hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemConfig = {
|
systemConfig = {
|
||||||
|
|
|
@ -52,9 +52,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
desktopConfig = {
|
desktop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
windowManagers.hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
apps = {
|
apps = {
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [./desktopConfig ./homeLab ./apps ./systemConfig ./userConfig];
|
imports = [./apps ./desktop ./homeLab ./systemConfig ./userConfig];
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [./displayManagers/lightdm ./desktopEnvironments ./windowManagers];
|
imports = [./gnome ./hyprland ./lightdm ./plasma];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.enable =
|
desktop.enable =
|
||||||
lib.mkEnableOption "Enables basic GUI X11 and Wayland environment.";
|
lib.mkEnableOption "Enable basic GUI X11 and Wayland environment.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.enable {
|
config = lib.mkIf config.desktop.enable {
|
||||||
services = {
|
services = {
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
gvfs.enable = true; # Mount, trash, etc.
|
gvfs.enable = true; # Mount, trash, etc.
|
||||||
|
@ -32,6 +32,6 @@
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
desktopConfig.windowManagers.hyprland.enable = lib.mkDefault true;
|
desktop.hyprland.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
}
|
}
|
|
@ -11,11 +11,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.desktopEnvironments.gnome.enable =
|
desktop.gnome.enable =
|
||||||
lib.mkEnableOption "Enables GNOME desktop session.";
|
lib.mkEnableOption "Enable GNOME desktop session.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.desktopEnvironments.gnome.enable {
|
config = lib.mkIf config.desktop.gnome.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnomeExtensions.appindicator
|
gnomeExtensions.appindicator
|
||||||
gnomeExtensions.blur-my-shell
|
gnomeExtensions.blur-my-shell
|
|
@ -5,12 +5,12 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.desktopEnvironments.gnome.fprintdFix.enable =
|
desktop.gnome.fprintdFix.enable =
|
||||||
lib.mkEnableOption
|
lib.mkEnableOption
|
||||||
"Fixes fprintd and pam issues with GNOME Display Manager.";
|
"Fixes fprintd and pam issues with GNOME Display Manager.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.desktopEnvironments.gnome.fprintdFix.enable {
|
config = lib.mkIf config.desktop.gnome.fprintdFix.enable {
|
||||||
# Need to change the order pam loads its modules
|
# Need to change the order pam loads its modules
|
||||||
# to get proper fingerprint behavior on GDM and the lockscreen.
|
# to get proper fingerprint behavior on GDM and the lockscreen.
|
||||||
security.pam.services.login.fprintAuth = false;
|
security.pam.services.login.fprintAuth = false;
|
|
@ -6,11 +6,11 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.windowManagers.hyprland.enable =
|
desktop.hyprland.enable =
|
||||||
lib.mkEnableOption "Enables hyprland window manager session.";
|
lib.mkEnableOption "Enable hyprland and greetd.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
|
config = lib.mkIf config.desktop.hyprland.enable {
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = rec {
|
settings = rec {
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
security.pam.services.greetd.enableKwallet = true;
|
security.pam.services.greetd.enableKwallet = true;
|
||||||
security.pam.services.greetd.enableGnomeKeyring = true;
|
security.pam.services.greetd.enableGnomeKeyring = true;
|
||||||
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.hyprland.package =
|
programs.hyprland.package =
|
|
@ -5,12 +5,12 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.displayManagers.lightdm.enable =
|
desktop.lightdm.enable =
|
||||||
lib.mkEnableOption
|
lib.mkEnableOption
|
||||||
"Enables lightdm and slick greeter with Catppuccin theme.";
|
"Enables lightdm and slick greeter with Catppuccin theme.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.displayManagers.lightdm.enable {
|
config = lib.mkIf config.desktop.lightdm.enable {
|
||||||
security.pam.services.lightdm.enableKwallet = true;
|
security.pam.services.lightdm.enableKwallet = true;
|
||||||
security.pam.services.lightdm.enableGnomeKeyring = true;
|
security.pam.services.lightdm.enableGnomeKeyring = true;
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.plasma.enable =
|
desktop.plasma.enable =
|
||||||
lib.mkEnableOption "Enables plasma desktop session.";
|
lib.mkEnableOption "Enable plasma desktop session.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.plasma.enable {
|
config = lib.mkIf config.desktop.plasma.enable {
|
||||||
# Enable SDDM + Plasma Desktop.
|
# Enable SDDM + Plasma Desktop.
|
||||||
services = {
|
services = {
|
||||||
desktopManager.plasma6.enable = true;
|
desktopManager.plasma6.enable = true;
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [./gnome ./plasma];
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [./lightdm];
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [./hyprland];
|
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
|
||||||
}
|
|