add dragneel host

This commit is contained in:
TheWanderingCrow 2025-03-25 07:39:26 -04:00
parent 979ead7d35
commit 63fd280927
11 changed files with 169 additions and 1 deletions

View file

@ -6,7 +6,7 @@
}: {
users.users.crow = lib.mkIf config.user.crow.enable {
isNormalUser = true;
initialPassword = "changeme";
hashedPassword = "$y$j9T$wDC7wMJxCLNvdf8L8s6jZ.$U06F381x07fzu.updEsoegiWtbFvsrRJ7DLN9gR7un0";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default

View file

@ -0,0 +1,9 @@
{
lib,
config,
...
}: {
imports = [
./user.nix
];
}

View file

@ -0,0 +1,20 @@
{
osConfig,
config,
inputs,
pkgs,
lib,
...
}: {
imports = [];
home = {
username = "dragneel";
homeDirectory = "/home/dragneel";
stateVersion = "24.05";
};
xdg = {
configHome = "/home/dragneel/.config";
enable = true;
};
}

View file

@ -0,0 +1,19 @@
{
inputs,
lib,
config,
...
}:
lib.mkIf config.user.dragneel.enable {
users.users.dragneel = {
isNormalUser = true;
hashedPassword = "$y$j9T$QA39xfvBrwChIi7CBsLgn.$jyWUKiP6QGY4rMtFTcBZgw7s1IJdiaIK6ZUwnU3Wmj7";
group = "wheel";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
];
};
home-manager.users.dragneel = ./home.nix;
}