grimm-nixos-laptop/flake.nix

69 lines
2.1 KiB
Nix
Raw Normal View History

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-02 23:15:51 +01:00
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
2024-02-02 12:59:59 +01:00
agenix.url = "github:ryantm/agenix";
2023-11-30 00:03:46 +01:00
swayfx = {
url = "github:WillPower3309/swayfx";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-gaming.url = "github:fufexan/nix-gaming";
2023-11-28 23:36:44 +01:00
};
2024-03-02 23:15:51 +01:00
outputs = inputs @ { self, agenix, nix-gaming, nixpkgs, chaotic, swayfx, ... }: let
2023-11-30 00:03:46 +01:00
system = "x86_64-linux";
# pkg-overlays = import nixpkgs {
# inherit system;
# config.allowUnfree = true;
# overlays = [self.overlays.default];
# };
2023-11-30 00:03:46 +01:00
in {
# overlays.default = import ./overlay.nix {inherit inputs system;};
2023-11-30 00:03:46 +01:00
2023-11-28 23:36:44 +01:00
nixosConfigurations = {
grimmauld-nixos = nixpkgs.lib.nixosSystem {
2023-11-30 00:03:46 +01:00
inherit system;
specialArgs = { inherit inputs; };
2023-11-28 23:36:44 +01:00
modules = [
# ({ config, pkgs, ... }: { nixpkgs.overlays = [ (import ./overlay.nix {inherit inputs system;} ) ]; })
2024-02-02 12:59:59 +01:00
agenix.nixosModules.default
nix-gaming.nixosModules.pipewireLowLatency
2024-03-02 23:15:51 +01:00
chaotic.nixosModules.default
# ./kernel.nix
2023-11-28 23:36:44 +01:00
./configuration.nix
# ./modules/accessibility.nix
2023-11-29 23:00:53 +01:00
./modules/sway.nix
# ./modules/sunshine.nix
2023-11-29 23:00:53 +01:00
./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
2024-03-05 19:06:58 +01:00
# ./modules/kvm.nix
2024-02-02 12:59:59 +01:00
./modules/toolchains.nix
2024-03-02 23:15:51 +01:00
./modules/tui.nix
./modules/cloudsync.nix
# ./cachix.nix
2024-02-02 12:59:59 +01:00
{ environment.systemPackages = [ agenix.packages.${system}.default ]; }
2023-11-28 23:36:44 +01:00
];
};
};
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
2023-11-28 23:36:44 +01:00
};
}