From 4ad6b47ca85832949653d87ae23bb6ad3dcebf03 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 31 May 2024 03:59:48 +0200 Subject: linde/nanopi: enable home-manager nixos module --- flake.nix | 11 +++++++++++ system/nanopi.nix | 2 ++ 2 files changed, 13 insertions(+) diff --git a/flake.nix b/flake.nix index a94afc29..5fccaa19 100644 --- a/flake.nix +++ b/flake.nix @@ -66,6 +66,17 @@ 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 { diff --git a/system/nanopi.nix b/system/nanopi.nix index b4693530..03765699 100755 --- a/system/nanopi.nix +++ b/system/nanopi.nix @@ -13,6 +13,7 @@ in ./nanopi-hardware.nix + ]; age.secrets = { @@ -635,6 +636,7 @@ in "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMvcW4Z9VxOQgEJjsRC1uSMwEJ4vru9BwjT+Z50nawp4 lan" ]; }; + home-manager.users.alan = import ../user/nanopi.nix; users.groups = { linde.members = [ ]; -- cgit 1.4.1