46 lines
1.3 KiB
Nix
46 lines
1.3 KiB
Nix
# flake for blakes nixos config
|
|
# define new devices in outputs
|
|
# generation: 150 current 2025-10-09 11:52:30 25.05.20251006.20c4598 6.12.50 *
|
|
{
|
|
description = "blakes nix config";
|
|
inputs = {
|
|
nixpkgs.url = "nixpkgs/nixos-25.05";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
vpn-confinement = {
|
|
url = "github:Maroka-chan/VPN-Confinement";
|
|
};
|
|
};
|
|
outputs = { self, nixpkgs, home-manager, vpn-confinement, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
snowbelle = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/snowbelle/configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
vpn-confinement.nixosModules.default
|
|
];
|
|
};
|
|
vaniville = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/vaniville/configuration.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|