mirror of
https://github.com/cupcakearmy/nix-macos.git
synced 2025-12-15 02:15:00 +00:00
decouple all config from host
This commit is contained in:
7
home.nix
7
home.nix
@@ -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; });
|
||||
|
||||
Reference in New Issue
Block a user