2023-06-20 04:08:11 +00:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "nixpkgs/nixos-unstable";
|
|
|
|
stable.url = "nixpkgs/nixos-23.05";
|
|
|
|
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-06-22 08:04:50 +00:00
|
|
|
|
|
|
|
hyprland = {
|
|
|
|
url = "github:hyprwm/Hyprland";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprland-hy3 = {
|
|
|
|
url = "github:outfoxxed/hy3";
|
|
|
|
inputs.hyprland.follows = "hyprland";
|
|
|
|
};
|
|
|
|
|
|
|
|
hyprpaper = {
|
|
|
|
url = "github:hyprwm/Hyprpaper";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-06-20 04:08:11 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs @ { self, nixpkgs, ... }: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
lenovo = nixpkgs.lib.nixosSystem rec {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit system inputs; };
|
|
|
|
|
|
|
|
modules = [
|
2023-06-21 01:08:53 +00:00
|
|
|
(import ./modules/impurity.nix self)
|
2023-06-20 08:41:31 +00:00
|
|
|
./modules/preserve-system.nix
|
2023-06-21 06:47:58 +00:00
|
|
|
./modules/overlay-pkgs
|
2023-06-21 10:52:24 +00:00
|
|
|
./modules/core
|
2023-06-21 06:47:58 +00:00
|
|
|
./modules/system.nix
|
2023-06-20 04:08:11 +00:00
|
|
|
./modules/user
|
2023-06-22 08:04:50 +00:00
|
|
|
./modules/hyprland
|
2023-06-21 10:52:24 +00:00
|
|
|
./systems/lenovo
|
2023-06-20 04:08:11 +00:00
|
|
|
];
|
|
|
|
};
|
2023-06-21 01:08:53 +00:00
|
|
|
|
|
|
|
lenovo-impure = self.nixosConfigurations.lenovo.extendModules { modules = [ { impurity.enable = true; } ]; };
|
2023-06-20 04:08:11 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|