Add base system flake and configuration
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
This commit is contained in:
parent
6da51a6b1f
commit
22548339a9
5 changed files with 217 additions and 0 deletions
20
nixos/flake.nix
Normal file
20
nixos/flake.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue