Add base system flake and configuration

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
George Kaklamanos 2024-04-28 22:10:39 +03:00
parent 6da51a6b1f
commit 22548339a9
No known key found for this signature in database
GPG key ID: C0CAB8A6BDC9399D
5 changed files with 217 additions and 0 deletions

20
nixos/flake.nix Normal file
View file

@ -0,0 +1,20 @@
{
description = "NixOS configuration flake";
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
outputs = inputs @ {nixpkgs, ...}: let
hostname = "kelly";
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
in {
nixosConfigurations = {
"kelly" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
];
};
};
};
}