mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:43:55 -05:00
code cleanup with nixfmt
This commit is contained in:
parent
0e05713778
commit
aa64f93930
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
|
|
||||||
imports = [ ./flatpak ./steam ];
|
imports = [ ./flatpak ./steam ];
|
||||||
|
|
||||||
}
|
}
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
apps.flatpak.enable = lib.mkEnableOption "Enables flatpak support with GUI.";
|
apps.flatpak.enable =
|
||||||
|
lib.mkEnableOption "Enables flatpak support with GUI.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.apps.flatpak.enable {
|
config = lib.mkIf config.apps.flatpak.enable {
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
|
|
||||||
imports = [ ./gnome ./plasma ./windowManagers/hyprland ];
|
imports = [ ./gnome ./plasma ./windowManagers/hyprland ];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
imports = [ # Include X settings.
|
imports = [ # Include X settings.
|
||||||
./fprintdFix.nix ./tripleBuffering.nix
|
./fprintdFix.nix
|
||||||
|
./tripleBuffering.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.gnome.fprintdFix.enable =
|
desktopConfig.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.gnome.fprintdFix.enable {
|
config = lib.mkIf config.desktopConfig.gnome.fprintdFix.enable {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
desktopConfig.windowManagers.hyprland.enable =
|
desktopConfig.windowManagers.hyprland.enable = lib.mkEnableOption
|
||||||
lib.mkEnableOption "Enables hyprland window manager session with lightdm.";
|
"Enables hyprland window manager session with lightdm.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
|
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
homeLab.binaryCache.enable =
|
homeLab.binaryCache.enable = lib.mkEnableOption "Enables nixpkgs cache.";
|
||||||
lib.mkEnableOption "Enables nixpkgs cache.";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.homeLab.binaryCache.enable {
|
config = lib.mkIf config.homeLab.binaryCache.enable {
|
||||||
|
|
|
@ -10,8 +10,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
homeLab.enable =
|
homeLab.enable = lib.mkEnableOption "Enables fully functional HomeLab.";
|
||||||
lib.mkEnableOption "Enables fully functional HomeLab.";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.homeLab.enable {
|
config = lib.mkIf config.homeLab.enable {
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{ pkgs, lib, config, ... }: {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
systemConfig.plymouth.enable = lib.mkEnableOption "Enables plymouth boot screen with reduced text verbosity.";
|
systemConfig.plymouth.enable = lib.mkEnableOption
|
||||||
|
"Enables plymouth boot screen with reduced text verbosity.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.systemConfig.plymouth.enable {
|
config = lib.mkIf config.systemConfig.plymouth.enable {
|
||||||
|
|
Loading…
Reference in a new issue