2023-11-28 23:36:44 +01:00
|
|
|
{
|
|
|
|
description = "grimmauld-nixos";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs = {
|
2024-03-02 23:15:51 +01:00
|
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
2023-11-28 23:36:44 +01:00
|
|
|
};
|
2024-04-16 11:45:34 +02:00
|
|
|
nixpkgs-stable = {
|
|
|
|
url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
|
|
};
|
2024-03-09 18:24:55 +01:00
|
|
|
chaotic = {
|
|
|
|
url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
agenix = {
|
|
|
|
url = "github:ryantm/agenix";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-03-24 16:59:47 +01:00
|
|
|
nix-gaming = {
|
|
|
|
url = "github:fufexan/nix-gaming";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-04-18 21:16:40 +02:00
|
|
|
nix-locate = {
|
|
|
|
url = "github:nix-community/nix-index";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-28 23:36:44 +01:00
|
|
|
};
|
|
|
|
|
2024-04-18 21:16:40 +02:00
|
|
|
outputs = inputs @ { self, nix-gaming, agenix, nixpkgs, nixpkgs-stable, nix-locate, chaotic, ... }:
|
2024-04-10 16:51:28 +02:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
2024-04-16 11:45:34 +02:00
|
|
|
stable = import nixpkgs-stable { inherit system; config.allowUnfree = true; };
|
2024-04-10 16:51:28 +02:00
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations = {
|
|
|
|
grimmauld-nixos = nixpkgs.lib.nixosSystem {
|
|
|
|
inherit system;
|
2024-04-16 11:45:34 +02:00
|
|
|
specialArgs = { inherit inputs system stable; };
|
2024-04-10 16:51:28 +02:00
|
|
|
modules = [
|
|
|
|
agenix.nixosModules.default
|
|
|
|
chaotic.nixosModules.default
|
|
|
|
nix-gaming.nixosModules.pipewireLowLatency
|
|
|
|
./load_common.nix
|
|
|
|
./specific/grimm-nixos-laptop/configuration.nix
|
|
|
|
./configuration.nix
|
|
|
|
./modules/users.nix
|
|
|
|
./modules/system-packages.nix
|
|
|
|
./modules/kvm.nix
|
|
|
|
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
|
|
|
|
];
|
|
|
|
};
|
2023-11-28 23:36:44 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|