This commit is contained in:
alydev 2025-09-23 18:55:16 +10:00
parent 20a01c781a
commit ca75fbaf41
2 changed files with 11 additions and 5 deletions

View file

@ -7,12 +7,9 @@
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};
authorizedKeys = builtins.fetchurl {
url = "https://aly.pet/authorized_keys.nix";
};
};
outputs = inputs@{ nixpkgs, home-manager, authorizedKeys, ... }: {
outputs = inputs@{ nixpkgs, home-manager, ... }: {
nixosConfigurations = {
aly-laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
@ -54,7 +51,7 @@
isNormalUser = true;
description = "aly";
hashedPassword = "$y$j9T$Q.yFJjo9LMA8o.7Ac5uSr/$Y8pYIPSzCXHSd4nAlUohaaohwpquK6XEIjxFKq3J4s/";
openssh.authorizedKeys.keys = import authorizedKeys;
openssh.authorizedKeys.keys = import ./authorized_keys.nix;
extraGroups = [ "networkmanager" "wheel" ];
};