1
Fork 0
nixos-system-config/flake.nix

45 lines
1.1 KiB
Nix
Raw Normal View History

2023-06-18 22:52:24 +02:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
impermanence.url = "github:nix-community/impermanence";
2024-04-05 14:36:20 +02:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
2024-04-05 14:36:20 +02:00
};
aagl = {
url = "github:ezKEa/aagl-gtk-on-nix";
inputs.nixpkgs.follows = "nixpkgs";
2024-04-05 14:36:20 +02:00
};
2024-07-21 23:04:27 +02:00
hyprland = {
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2023-06-18 22:52:24 +02:00
2024-07-21 23:04:27 +02:00
outputs = { nixpkgs, impermanence, home-manager, aagl, nur, ... } @ inputs:
{
nixosConfigurations.workstation = nixpkgs.lib.nixosSystem {
2023-07-19 22:25:34 +02:00
system = "x86_64-linux";
2024-07-21 23:04:27 +02:00
specialArgs = { inherit inputs; } ;
modules = [
home-manager.nixosModules.home-manager {
home-manager.sharedModules = [
nur.hmModules.nur
];
}
impermanence.nixosModules.impermanence
nur.nixosModules.nur
aagl.nixosModules.default
./machines/workstation/configuration.nix
];
};
2023-06-18 22:52:24 +02:00
};
}