50 lines
1.6 KiB
Nix
50 lines
1.6 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
home-manager.url = "github:nix-community/home-manager/master";
|
|
flatpaks.url = "github:gmodena/nix-flatpak/main";
|
|
anyrun.url = "github:anyrun-org/anyrun";
|
|
niri.url = "github:sodiboo/niri-flake";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
anyrun.inputs.nixpkgs.follows = "nixpkgs";
|
|
niri.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { nixpkgs, home-manager, flatpaks, anyrun, niri, ... }: {
|
|
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.ahurac.imports = [
|
|
flatpaks.homeManagerModules.nix-flatpak
|
|
anyrun.homeManagerModules.default
|
|
niri.homeModules.niri
|
|
./ahrc-pc/home.nix
|
|
];
|
|
}
|
|
./ahrc-pc/configuration.nix
|
|
];
|
|
};
|
|
|
|
nixosConfigurations.ahrc-laptop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.ahurac.imports = [
|
|
flatpaks.homeManagerModules.nix-flatpak
|
|
anyrun.homeManagerModules.default
|
|
niri.homeModules.niri
|
|
./ahrc-laptop/home.nix
|
|
];
|
|
}
|
|
./ahrc-laptop/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|