pluto-flake/flake.nix
2026-02-21 01:09:03 +00:00

36 lines
921 B
Nix

{
description = "maowwww";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{self, nixpkgs, home-manager, ...}:{
nixosConfigurations."apalapucia" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/absolution
./variables.nix
{ config.var.username = "alyx";
config.var.hostname = "apalapucia";
config.var.timezone = "Europe/London";
}
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {
inherit inputs;
vars = {
class = "desktop";
user = "alyx";
};
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.alyx = ./home;
}
];
};
};
}