69 lines
2.1 KiB
Nix
69 lines
2.1 KiB
Nix
{
|
|
description = "grimmauld-nixos";
|
|
|
|
inputs = {
|
|
nixpkgs = {
|
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
|
agenix.url = "github:ryantm/agenix";
|
|
swayfx = {
|
|
url = "github:WillPower3309/swayfx";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
|
};
|
|
|
|
outputs = inputs @ { self, agenix, nix-gaming, nixpkgs, chaotic, swayfx, ... }: let
|
|
system = "x86_64-linux";
|
|
|
|
# pkg-overlays = import nixpkgs {
|
|
# inherit system;
|
|
# config.allowUnfree = true;
|
|
# overlays = [self.overlays.default];
|
|
# };
|
|
in {
|
|
# overlays.default = import ./overlay.nix {inherit inputs system;};
|
|
|
|
nixosConfigurations = {
|
|
grimmauld-nixos = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
# ({ config, pkgs, ... }: { nixpkgs.overlays = [ (import ./overlay.nix {inherit inputs system;} ) ]; })
|
|
agenix.nixosModules.default
|
|
nix-gaming.nixosModules.pipewireLowLatency
|
|
chaotic.nixosModules.default
|
|
# ./kernel.nix
|
|
./configuration.nix
|
|
# ./modules/accessibility.nix
|
|
./modules/sway.nix
|
|
# ./modules/sunshine.nix
|
|
./modules/localisation.nix
|
|
./modules/users.nix
|
|
./modules/tlp.nix
|
|
./modules/printing.nix
|
|
./modules/network.nix
|
|
./modules/xdg.nix
|
|
./modules/fonts.nix
|
|
./modules/polkit.nix
|
|
./modules/sound.nix
|
|
./modules/tabletdriver.nix
|
|
./modules/xserver.nix
|
|
./modules/system-packages.nix
|
|
./modules/mypackaegsstayinstoreffs.nix
|
|
./modules/opengl.nix
|
|
# ./modules/kvm.nix
|
|
./modules/toolchains.nix
|
|
./modules/tui.nix
|
|
./modules/cloudsync.nix
|
|
# ./cachix.nix
|
|
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
|
|
];
|
|
};
|
|
};
|
|
|
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
|
};
|
|
}
|