style(desktop): reformat nix code and simplify module logic

Refactor `modules/desktop/options.nix` to improve code readability through
consistent indentation and whitespace management. Simplified the
conditional logic for `home-manager.extraSpecialArgs` to remove
unnecessary complexity.

Clean up host configurations by removing commented-out code, removing
unnecessary whitespace, and flattening nested attribute sets into
single-line declarations where appropriate.
This commit is contained in:
2026-07-15 22:20:07 -03:00
parent e2fd47aa58
commit a787840ce2
5 changed files with 32 additions and 44 deletions
-1
View File
@@ -22,7 +22,6 @@
spotify.openDiscoveryFirewall = true;
pokeclicker.enable = true;
};
};
}
];
-13
View File
@@ -4,18 +4,5 @@
{ self, ... }:
{
imports = [ self.nixosModules.desktopHomeBase ];
# Host-only HM overrides (tablet apps, toggles off from desktop-home-base, …).
chiasson.users.extraModules.olivier = [
# {
# chiasson.home = {
# # editors.kate.enable = true;
# };
# }
# (
# { pkgs, ... }:
# { home.packages = with pkgs; [ ]; }
# )
];
};
}
+1 -4
View File
@@ -8,9 +8,7 @@
chiasson.users.extraModules.olivier = [
{
chiasson.home = {
browsers = {
edge.enable = true;
};
browsers.edge.enable = true;
apps = {
discord.enable = true;
@@ -19,6 +17,5 @@
};
}
];
};
}
+1 -3
View File
@@ -7,9 +7,7 @@
chiasson.users.extraModules.olivier = [
{
chiasson.home = {
hardware.uconsoleGamepad.enable = true;
};
chiasson.home.hardware.uconsoleGamepad.enable = true;
}
];
};