initial commit

This commit is contained in:
2024-12-12 15:09:41 +01:00
commit ccecf6f5aa
7 changed files with 355 additions and 0 deletions

32
flake.nix Normal file
View File

@@ -0,0 +1,32 @@
{
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 = [
./configuration.nix
./nvidia.nix
./plasma.nix
./users/shatteredmint.nix
];
};
};
};
}