diff options
Diffstat (limited to 'hosts/macbook')
| -rw-r--r-- | hosts/macbook/configuration.nix | 6 | ||||
| -rw-r--r-- | hosts/macbook/home.nix | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/hosts/macbook/configuration.nix b/hosts/macbook/configuration.nix index 867ca40..b7ee965 100644 --- a/hosts/macbook/configuration.nix +++ b/hosts/macbook/configuration.nix @@ -1,9 +1,9 @@ -{ ... }: +{ username, ... }: { - users.users.schererleander.home = "/Users/schererleander"; + users.users.${username}.home = "/Users/${username}"; - system.primaryUser = "schererleander"; + system.primaryUser = username; system.defaults = { dock = { autohide = true; diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index 297811e..bde968e 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -1,12 +1,12 @@ -{ pkgs, ... }: +{ pkgs, username, ... }: { imports = [ ../../modules/home-manager ]; - home.username = "schererleander"; - home.homeDirectory = "/Users/schererleander"; + home.username = username; + home.homeDirectory = "/Users/${username}"; home.packages = with pkgs; [ htop |
