36 lines
740 B
Nix
36 lines
740 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
|
|
hjem = {
|
|
url = "github:feel-co/hjem";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
hjem-rum = {
|
|
url = "github:snugnug/hjem-rum";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... } @ inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
username = "poslop";
|
|
in
|
|
{
|
|
nixosConfigurations = {
|
|
nixos-vm2 = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
modules = [ ./hosts/nixos-vm2/configuration.nix ];
|
|
specialArgs = {
|
|
host = "nixos-vm2";
|
|
inherit self inputs username;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|