first commit

This commit is contained in:
alyx 2026-02-20 23:07:13 +00:00
commit 00add66a97
No known key found for this signature in database
8 changed files with 391 additions and 0 deletions

33
flake.nix Normal file
View file

@ -0,0 +1,33 @@
{
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;
}
];
};
};
}