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-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";
|
|
|
|
};
|
|
|
|
swaymux = {
|
|
|
|
url = "git+https://git.grimmauld.de/Grimmauld/swaymux";
|
2024-03-09 18:24:55 +01:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-11-28 23:36:44 +01:00
|
|
|
};
|
|
|
|
|
2024-03-24 16:59:47 +01:00
|
|
|
outputs = inputs @ { self, swaymux, nix-gaming, agenix, nixpkgs, chaotic, ... }: let
|
2023-11-30 00:03:46 +01:00
|
|
|
system = "x86_64-linux";
|
|
|
|
in {
|
2023-11-28 23:36:44 +01:00
|
|
|
nixosConfigurations = {
|
|
|
|
grimmauld-nixos = nixpkgs.lib.nixosSystem {
|
2023-11-30 00:03:46 +01:00
|
|
|
inherit system;
|
2024-03-09 18:24:55 +01:00
|
|
|
specialArgs = { inherit inputs system; };
|
2023-11-28 23:36:44 +01:00
|
|
|
modules = [
|
2024-03-18 00:40:44 +01:00
|
|
|
agenix.nixosModules.default
|
2024-03-02 23:15:51 +01:00
|
|
|
chaotic.nixosModules.default
|
2024-03-24 16:59:47 +01:00
|
|
|
inputs.nix-gaming.nixosModules.pipewireLowLatency
|
|
|
|
./load_common.nix
|
|
|
|
./specific/grimm-nixos-laptop.nix
|
|
|
|
|
2023-12-28 12:39:55 +01:00
|
|
|
# ./kernel.nix
|
2023-11-28 23:36:44 +01:00
|
|
|
./configuration.nix
|
2023-11-29 23:00:53 +01:00
|
|
|
./modules/users.nix
|
2024-03-24 10:16:04 +01:00
|
|
|
# ./modules/tlp.nix
|
2024-03-16 18:28:01 +01:00
|
|
|
./modules/screenshare_select.nix
|
2024-03-24 10:16:04 +01:00
|
|
|
./modules/spotify-tui.nix
|
2023-11-29 23:00:53 +01:00
|
|
|
./modules/xserver.nix
|
|
|
|
./modules/system-packages.nix
|
2024-03-24 10:16:04 +01:00
|
|
|
./modules/kvm.nix
|
2024-02-02 12:59:59 +01:00
|
|
|
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
|
2023-11-28 23:36:44 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-01-31 17:04:50 +01:00
|
|
|
|
|
|
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
2023-11-28 23:36:44 +01:00
|
|
|
};
|
|
|
|
}
|