decouple all config from host

This commit is contained in:
2025-01-27 23:46:38 +01:00
parent 646aaeefe4
commit 9610667c25
7 changed files with 110 additions and 98 deletions

View File

@@ -1,11 +1,12 @@
{ pkgs, ... }@args:
{ host }:
{ pkgs, ... }:
{
# https://nix-community.github.io/home-manager
home.stateVersion = "25.05"; # Please read the comment before changing.
programs.home-manager.enable = true;
home.username = "niccoloborgioli";
home.homeDirectory = "/Users/niccoloborgioli";
home.username = host.username;
home.homeDirectory = "/Users/${host.username}";
home.packages =
[ ] ++ (import ./home/shared.nix { inherit pkgs; }) ++ (import ./home/sflx.nix { inherit pkgs; });