48 lines
947 B
Nix
48 lines
947 B
Nix
{
|
|
description = "Flake to handle all my infrastructure";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOs/nixpkgs/nixos-24.11";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
|
|
# follow defined nixpkgs to prevent version mismatch
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {self, nixpkgs, home-manager, ... }@inputs:
|
|
let
|
|
lib = nixpkgs.lib;
|
|
in {
|
|
nixosConfigurations = {
|
|
nix-desk = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = inputs;
|
|
modules = [
|
|
./hardware/desk.nix
|
|
|
|
./configuration.nix
|
|
./nvidia.nix
|
|
./plasma.nix
|
|
|
|
./backup-target.nix
|
|
|
|
./users/shatteredmint.nix
|
|
];
|
|
};
|
|
|
|
nix-conv = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = inputs;
|
|
|
|
modules = [
|
|
./configuration.nix
|
|
./plasma.nix
|
|
./users/shatteredmint.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|