grimm-nixos-laptop/flake.nix

50 lines
1.2 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";
};
2023-11-28 23:36:44 +01:00
};
2023-11-30 00:03:46 +01:00
outputs = inputs @ { self, nixpkgs, ... }: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [self.overlays.default];
};
in {
overlays.default = import ./overlay.nix {inherit inputs system;};
2023-11-28 23:36:44 +01:00
nixosConfigurations = {
grimmauld-nixos = nixpkgs.lib.nixosSystem {
2023-11-30 00:03:46 +01:00
inherit system;
2023-11-28 23:36:44 +01:00
modules = [
./configuration.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
2023-11-28 23:36:44 +01:00
];
};
};
};
}