2024-09-30 13:17:30 +02:00
|
|
|
{
|
|
|
|
inputs = {
|
2024-10-07 08:43:25 +02:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
2024-10-08 10:21:19 +02:00
|
|
|
home-manager.url = "github:nix-community/home-manager/master";
|
2024-10-01 11:13:54 +02:00
|
|
|
flatpaks.url = "github:gmodena/nix-flatpak/main";
|
2024-10-08 10:10:30 +02:00
|
|
|
anyrun.url = "github:anyrun-org/anyrun";
|
2024-10-10 21:15:27 +02:00
|
|
|
niri.url = "github:sodiboo/niri-flake";
|
2024-10-10 21:15:47 +02:00
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
2024-10-08 10:10:30 +02:00
|
|
|
anyrun.inputs.nixpkgs.follows = "nixpkgs";
|
2024-10-10 21:15:27 +02:00
|
|
|
niri.inputs.nixpkgs.follows = "nixpkgs";
|
2024-09-30 13:17:30 +02:00
|
|
|
};
|
|
|
|
|
2024-10-10 21:15:27 +02:00
|
|
|
outputs = { nixpkgs, home-manager, flatpaks, anyrun, niri, ... }: {
|
2024-09-30 16:49:24 +02:00
|
|
|
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2024-10-08 10:10:30 +02:00
|
|
|
home-manager.users.ahurac.imports = [
|
|
|
|
flatpaks.homeManagerModules.nix-flatpak
|
|
|
|
anyrun.homeManagerModules.default
|
2024-10-15 17:23:36 +02:00
|
|
|
niri.homeModules.niri
|
2024-10-08 10:10:30 +02:00
|
|
|
./ahrc-pc/home.nix
|
|
|
|
];
|
2024-09-30 16:49:24 +02:00
|
|
|
}
|
2024-10-10 21:15:47 +02:00
|
|
|
./ahrc-pc/configuration.nix
|
2024-09-30 16:49:24 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-09-30 13:17:30 +02:00
|
|
|
nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
2024-10-21 11:39:05 +02:00
|
|
|
niri.nixosModules.niri
|
2024-09-30 13:17:30 +02:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
2024-10-08 10:10:30 +02:00
|
|
|
home-manager.users.ahurac.imports = [
|
|
|
|
flatpaks.homeManagerModules.nix-flatpak
|
|
|
|
anyrun.homeManagerModules.default
|
|
|
|
./ahrc-laptop/home.nix
|
|
|
|
];
|
2024-09-30 13:17:30 +02:00
|
|
|
}
|
2024-10-10 21:15:47 +02:00
|
|
|
./ahrc-laptop/configuration.nix
|
2024-09-30 13:17:30 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|