feat(nixos): add initial NixOS configuration and hardware setup

This commit is contained in:
ada
2026-03-09 20:33:58 +03:00
parent dfdef1c493
commit ac5c59ee76
3 changed files with 221 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
{
description = "NixOS Configuration Flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";
};
outputs = { self, nixpkgs, nixos-hardware }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
nixosConfigurations.nixos-vm = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./nixos/configuration.nix
];
};
};
}