nixos/flake.nix

66 lines
2.1 KiB
Nix
Raw Normal View History

2024-02-16 13:59:46 +01:00
{
description = "Master flake for all my setups";
inputs = {
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "unstable";
2024-03-20 16:21:45 +01:00
2024-02-16 13:59:46 +01:00
hyprland-contrib.url = "github:hyprwm/contrib";
hyprland-contrib.inputs.nixpkgs.follows = "unstable";
};
2024-06-25 11:42:02 +02:00
outputs = { unstable, home-manager, hyprland-contrib, ...}@inputs: {
2024-02-16 13:59:46 +01:00
nixosConfigurations = {
gunther = unstable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./gunther/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.leonv = import ./gunther/leonv.nix;
home-manager.extraSpecialArgs = { inherit inputs; };
}
];
};
absol = unstable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./absol/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.leonv = import ./absol/leonv.nix;
home-manager.extraSpecialArgs = { inherit inputs; };
2024-05-18 14:37:59 +02:00
home-manager.backupFileExtension = "backup";
}
];
};
2024-02-16 13:59:46 +01:00
iso = unstable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
2024-06-25 11:42:02 +02:00
"${unstable}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix"
2024-02-16 13:59:46 +01:00
./iso/configuration.nix
];
};
2024-03-21 08:27:51 +01:00
willem = unstable.lib.nixosSystem {
2024-02-16 13:59:46 +01:00
system = "aarch64-linux";
2024-04-06 19:49:07 +02:00
specialArgs = { inherit inputs; };
modules = [ ./willem/configuration.nix ];
2024-02-16 13:59:46 +01:00
};
2024-05-08 11:03:22 +02:00
dafoe = unstable.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [ ./dafoe/configuration.nix ];
};
2024-02-16 13:59:46 +01:00
};
};
}