one config for each host
This commit is contained in:
parent
e3b990c590
commit
3051fd8593
3 changed files with 49 additions and 23 deletions
6
home.nix
6
home.nix
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, config, lib, pkgs, username, variant, ... }:
|
||||
{ inputs, config, lib, pkgs, variant, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = username;
|
||||
home.homeDirectory = "/home/${config.home.username}";
|
||||
|
||||
|
||||
home.stateVersion = "23.05"; # Please read the comment before changing.
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -152,7 +152,7 @@
|
|||
XCURSOR_SIZE = "24";
|
||||
CCACHE_MAXSIZE = "40Gi";
|
||||
} // (if variant == "allegro" then {
|
||||
TMPDIR = "/home/${username}/tmp";
|
||||
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 {});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue