feat: add nixos configuration

This commit is contained in:
hhhh hgfh 2026-10-03 13:15:51 +00:00
parent f0ed8873f6
commit 52b53c8069
14 changed files with 272 additions and 2 deletions

18
flake.nix Normal file
View file

@ -0,0 +1,18 @@
{
description = "NixOS system and personal dotfiles";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
codex-nixpkgs.url = "github:NixOS/nixpkgs/master";
};
outputs = { nixpkgs, codex-nixpkgs, ... }: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./nixos/hosts/nixos ];
specialArgs = {
codexPkgs = codex-nixpkgs.legacyPackages.x86_64-linux;
};
};
};
}