diff --git a/flake.nix b/flake.nix index a57a617..fd08309 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ ./firestar ./fonts.nix ./packages.nix - ./user.nix + (import ./user.nix { name = "Aode"; }) ]; }; nixosConfigurations.graystripe = nixpkgs.lib.nixosSystem { @@ -23,7 +23,7 @@ ./fonts.nix ./graystripe ./packages.nix - ./user.nix + (import ./user.nix { name = "Tavi"; }) ]; }; }; diff --git a/user.nix b/user.nix index e9e6fc2..d1ceb24 100644 --- a/user.nix +++ b/user.nix @@ -1,10 +1,12 @@ +{ name }: + { pkgs, ... }: { # Define a user account. Don't forget to set a password with `passwd`. users.users.asonix = { isNormalUser = true; - description = "Aode"; + description = name; shell = pkgs.zsh; extraGroups = [ "networkmanager" "wheel" ]; packages = with pkgs; [