61 lines
1.7 KiB
Nix
61 lines
1.7 KiB
Nix
{
|
|
description = "grimmauld-nixos";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
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";
|
|
};
|
|
swaymux = {
|
|
url = "git+https://git.grimmauld.de/Grimmauld/swaymux";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
rmenu = {
|
|
# url = "git+file:///home/grimmauld/rmenu";
|
|
url = "github:imgurbot12/rmenu";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = inputs @ { self, swaymux, rmenu, nix-gaming, agenix, nixpkgs, chaotic, ... }: let
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations = {
|
|
grimmauld-nixos = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs system; };
|
|
modules = [
|
|
agenix.nixosModules.default
|
|
chaotic.nixosModules.default
|
|
nix-gaming.nixosModules.pipewireLowLatency
|
|
rmenu.nixosModules.default
|
|
./load_common.nix
|
|
./specific/grimm-nixos-laptop/configuration.nix
|
|
|
|
./configuration.nix
|
|
./modules/users.nix
|
|
# ./modules/tlp.nix
|
|
./modules/spotify-tui.nix
|
|
./modules/xserver.nix
|
|
./modules/system-packages.nix
|
|
./modules/kvm.nix
|
|
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
|
|
];
|
|
};
|
|
};
|
|
|
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
|
};
|
|
}
|