replace variant argument with modules
All checks were successful
/ build-all (push) Successful in 1m18s
All checks were successful
/ build-all (push) Successful in 1m18s
This commit is contained in:
parent
f2608d0a82
commit
1a0086f941
13 changed files with 586 additions and 577 deletions
|
|
@ -1,18 +1,11 @@
|
|||
{ inputs, config, lib, pkgs, variant, ... }:
|
||||
{ inputs, config, lib, pkgs, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./lf.nix
|
||||
./fish.nix
|
||||
./terminal-software.nix
|
||||
] ++ (if variant != "hs" then
|
||||
[
|
||||
./ui.nix
|
||||
./gui-software.nix
|
||||
./gaming.nix
|
||||
./additional-software.nix
|
||||
]
|
||||
else []);
|
||||
];
|
||||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
|
|
@ -56,12 +49,8 @@
|
|||
home.sessionVariables = {
|
||||
GOPATH = "${config.home.homeDirectory}/.local/share/go";
|
||||
GOMODCACHE = "${config.home.homeDirectory}/.cache/go/pkg/mod";
|
||||
|
||||
CCACHE_MAXSIZE = "100Gi";
|
||||
} // (if variant == "allegro" then {
|
||||
TMPDIR = "/home/${config.home.username}/tmp";
|
||||
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas-47.1/glib-2.0/schemas";
|
||||
} else {});
|
||||
};
|
||||
|
||||
home.keyboard.options = [
|
||||
"caps:escape"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue