2025-06-06 11:12:31 -05:00
|
|
|
{
|
|
|
|
|
description = "System Wide Config Controller";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
2025-06-06 11:24:34 -05:00
|
|
|
nixvim = {
|
2025-06-06 11:12:31 -05:00
|
|
|
url = "github:nix-community/nixvim";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
home-manager = {
|
|
|
|
|
url = "github:nix-community/home-manager/release-25.05";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
|
|
|
|
impermanence.url = "github:nix-community/impermanence";
|
|
|
|
|
sops-nix = {
|
2025-06-06 11:24:34 -05:00
|
|
|
url = "github:Mic92/sops-nix";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2025-06-06 11:12:31 -05:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2025-06-06 21:38:16 +00:00
|
|
|
outputs = { self, nixpkgs, nixvim, home-manager, impermanence, sops-nix }@inputs: {
|
2025-06-06 11:12:31 -05:00
|
|
|
|
|
|
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
modules = [
|
|
|
|
|
./configuration.nix
|
2025-06-06 11:55:59 -05:00
|
|
|
./hardware-configuration.nix
|
2025-06-07 15:31:09 -05:00
|
|
|
impermanence.nixosModules.impermanence
|
|
|
|
|
sops-nix.nixosModules.sops
|
2025-06-06 11:12:31 -05:00
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
|
home-manager.users.roy = { ... }: {
|
|
|
|
|
imports = [
|
|
|
|
|
./home.nix
|
|
|
|
|
nixvim.homeManagerModules.nixvim
|
2025-06-07 15:31:09 -05:00
|
|
|
impermanence.homeManagerModules.impermanence
|
2025-06-06 11:12:31 -05:00
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|