grimm-nixos-laptop/flake.nix

62 lines
1.8 KiB
Nix
Raw Normal View History

2023-11-28 23:36:44 +01:00
{
description = "grimmauld-nixos";
inputs = {
nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable";
};
2023-11-30 00:03:46 +01:00
swayfx = {
url = "github:WillPower3309/swayfx";
inputs.nixpkgs.follows = "nixpkgs";
};
plasma6.url = "github:nix-community/kde2nix";
nix-gaming.url = "github:fufexan/nix-gaming";
2023-11-28 23:36:44 +01:00
};
outputs = inputs @ { self, nix-gaming, nixpkgs, plasma6, 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;} ) ]; })
plasma6.nixosModules.default
nix-gaming.nixosModules.pipewireLowLatency
# ./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/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
./cachix.nix
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
};
}