code cleanup with nixfmt

This commit is contained in:
Aly Raffauf 2024-03-28 16:40:23 -04:00
parent 0e05713778
commit aa64f93930
19 changed files with 40 additions and 41 deletions

View file

@ -1,6 +1,5 @@
{ pkgs, lib, config, ... }: {
imports = [ ./flatpak ./steam ];
}

View file

@ -1,7 +1,8 @@
{ pkgs, lib, config, ... }: {
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 {

View file

@ -1,6 +1,5 @@
{ pkgs, lib, config, ... }: {
imports = [ ./gnome ./plasma ./windowManagers/hyprland ];
options = {

View file

@ -1,7 +1,8 @@
{ pkgs, lib, config, ... }: {
imports = [ # Include X settings.
./fprintdFix.nix ./tripleBuffering.nix
./fprintdFix.nix
./tripleBuffering.nix
];
options = {

View file

@ -1,8 +1,8 @@
{ pkgs, lib, config, ... }: {
options = {
desktopConfig.gnome.fprintdFix.enable =
lib.mkEnableOption "Fixes fprintd and pam issues with GNOME Display Manager.";
desktopConfig.gnome.fprintdFix.enable = lib.mkEnableOption
"Fixes fprintd and pam issues with GNOME Display Manager.";
};
config = lib.mkIf config.desktopConfig.gnome.fprintdFix.enable {

View file

@ -1,8 +1,8 @@
{ pkgs, lib, config, ... }: {
options = {
desktopConfig.windowManagers.hyprland.enable =
lib.mkEnableOption "Enables hyprland window manager session with lightdm.";
desktopConfig.windowManagers.hyprland.enable = lib.mkEnableOption
"Enables hyprland window manager session with lightdm.";
};
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {

View file

@ -1,8 +1,7 @@
{ pkgs, lib, config, ... }: {
options = {
homeLab.binaryCache.enable =
lib.mkEnableOption "Enables nixpkgs cache.";
homeLab.binaryCache.enable = lib.mkEnableOption "Enables nixpkgs cache.";
};
config = lib.mkIf config.homeLab.binaryCache.enable {

View file

@ -10,8 +10,7 @@
];
options = {
homeLab.enable =
lib.mkEnableOption "Enables fully functional HomeLab.";
homeLab.enable = lib.mkEnableOption "Enables fully functional HomeLab.";
};
config = lib.mkIf config.homeLab.enable {

View file

@ -1,7 +1,8 @@
{ pkgs, lib, config, ... }: {
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 {

View file

@ -6,8 +6,8 @@
config = lib.mkIf config.systemConfig.zramSwap.enable {
zramSwap = {
enable = true;
memoryPercent = 25;
enable = true;
memoryPercent = 25;
};
};
}