61 lines
1.7 KiB
Nix
61 lines
1.7 KiB
Nix
{
|
|
description = "grimmauld-nixos";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
# url = "git+file:///home/grimmauld/coding/nixpkgs";
|
|
};
|
|
nixpkgs-stable = {
|
|
url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
};
|
|
chaotic = {
|
|
url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
agenix = {
|
|
url = "github:ryantm/agenix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nix-gaming = {
|
|
url = "github:fufexan/nix-gaming";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nix-locate = {
|
|
url = "github:nix-community/nix-index";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
hammering = {
|
|
url = "github:jtojnar/nixpkgs-hammering";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs @ { self, nix-gaming, agenix, hammering, nixpkgs, nixpkgs-stable, nix-locate, chaotic, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
stable = import nixpkgs-stable { inherit system; config.allowUnfree = true; };
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
grimmauld-nixos = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs system stable; };
|
|
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
|
|
./overlays
|
|
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|