33 lines
832 B
Nix
33 lines
832 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"; }
|
|
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;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|