Initial commit

This commit is contained in:
Dennis Schoepf 2024-12-25 19:41:33 +01:00
commit 24e1cf0cbd
5 changed files with 233 additions and 0 deletions

26
flake.nix Normal file
View file

@ -0,0 +1,26 @@
{
description = "dnsc-server NixOS flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: let
inherit (self) outputs;
in {
nixosConfigurations.dnsc-server = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [./hosts/dnsc-server/configuration.nix];
};
};
}