init: initial setup
This commit is contained in:
commit
69a92fdd5e
10 changed files with 444 additions and 0 deletions
26
common/users.nix
Normal file
26
common/users.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ home-manager, inputs, filter, ... }:
|
||||
{
|
||||
users.users."strix" = {
|
||||
isNormalUser = true;
|
||||
description = "Strix";
|
||||
initialPassword = "changeme";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"libvirtd"
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMjsxlXIgj0sPuzjgfeqAfe1gTNAeFpAext2wbfjOLPE"
|
||||
];
|
||||
};
|
||||
|
||||
imports = [
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs filter; };
|
||||
home-manager.users.strix = ./home.nix;
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue