init: initial setup

This commit is contained in:
strix 2026-08-22 23:28:20 +02:00
commit 69a92fdd5e
10 changed files with 444 additions and 0 deletions

26
common/users.nix Normal file
View 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;
}
];
}