initial commit

This commit is contained in:
maia 2026-05-30 11:13:18 -03:00
commit 8eb7f9c5fb
Signed by: maia
SSH key fingerprint: SHA256:1pLukFtd8Upio2R+CpHc0Z+DBjdfJskYABVE7Ps349c
8 changed files with 1261 additions and 0 deletions

46
flake.nix Normal file
View file

@ -0,0 +1,46 @@
{
description = "NixOS flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
inputs@{
nixpkgs,
home-manager,
...
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in
{
nixosConfigurations.maia = nixpkgs.lib.nixosSystem {
inherit system pkgs;
specialArgs = {
inherit
nixpkgs
home-manager
;
};
modules = [
./configuration.nix
./hardware-configuration.nix
./home.nix
inputs.home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
}
];
};
};
}