Allow specify user description in flake
This commit is contained in:
parent
53219073a6
commit
b462e4ed6e
2 changed files with 5 additions and 3 deletions
|
@ -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"; })
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
4
user.nix
4
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; [
|
||||
|
|
Loading…
Reference in a new issue