linde/nanopi: enable home-manager nixos module
Alan Pearce alan@alanpearce.eu
Fri, 31 May 2024 03:59:48 +0200
2 files changed, 13 insertions(+), 0 deletions(-)
jump to
M flake.nix → flake.nix
@@ -66,6 +66,17 @@ agenix.nixosModules.default searchix.nixosModules.web golink.nixosModules.default ./system/linde.nix + home-manager.nixosModules.home-manager + { + home-manager = { + extraSpecialArgs = { + pkgs = import nixpkgs { + overlays = readOverlays (toString ./overlays); + }; + }; + users.alan = import ./user/server.nix; + }; + } ]; }; homeConfigurations."alan@linde" = mkHomeConfiguration {
M system/nanopi.nix → system/nanopi.nix
@@ -13,6 +13,7 @@ imports = [ ./nanopi-hardware.nix <agenix/modules/age.nix> <nixos-hardware/friendlyarm/nanopi-r5s> + <home-manager/nixos> ]; age.secrets = { @@ -635,6 +636,7 @@ openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvcW4Z9VxOQgEJjsRC1uSMwEJ4vru9BwjT+Z50nawp4 lan" ]; }; + home-manager.users.alan = import ../user/nanopi.nix; users.groups = { linde.members = [ ];