wrote config.nix and flake.nix to accept new home-roy.nix

This commit is contained in:
2025-08-22 22:10:22 -05:00
parent bdf6cc60ee
commit b8314424c8
2 changed files with 41 additions and 1 deletions
+17 -1
View File
@@ -3,6 +3,10 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
nixvim = = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
quasiSecrets.url = "git+ssh://git@github.com/RoyDumblauskas/server-semi-secrets?shallow=1";
home-manager = {
url = "github:nix-community/home-manager/release-25.05";
@@ -17,6 +21,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
impermanence.url = "github:nix-community/impermanence";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
# This is a path to the services I've declared.
# It just happens to be stored in the same repository (relative),
# but could well be a separate repository
@@ -25,7 +33,7 @@
mc-service.url = "path:../homelab-services/mc-service";
};
outputs = { self, nixpkgs, home-manager, disko, sops-nix, quasiSecrets, impermanence, tests-service, minio-service, mc-service }@inputs:
outputs = { self, nixpkgs, nixvim, home-manager, disko, sops-nix, quasiSecrets, impermanence, firefox-addons, tests-service, minio-service, mc-service }@inputs:
let
nodes = [
{
@@ -60,6 +68,14 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.sysAdmin = ./home.nix;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.roy = { ... }: {
imports = [
./home-roy.nix
nixvim.homeManagerModules.nixvim
sops-nix.homeManagerModules.sops
];
};
}
];
};