This commit is contained in:
Pim Kunis 2023-10-08 16:57:57 +02:00
commit 7f900c6be3
26 changed files with 965 additions and 0 deletions

29
flake.nix Normal file
View file

@ -0,0 +1,29 @@
{
description = "My NixOS configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in
{
nixosConfigurations = {
myNixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; };
modules = [
./configuration.nix
];
};
};
};
}