Initial minimal NixOS config for syncala

This commit is contained in:
dhrm
2026-08-25 19:20:24 +02:00
commit aff15c4ac7
3 changed files with 34 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
result/
+22
View File
@@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
system.stateVersion = "24.05";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
fileSystems."/" = {
device = "/dev/sda1";
fsType = "ext4";
};
networking.hostName = "syncala";
environment.systemPackages = with pkgs; [ vim git ];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL637vZmT placenolder"
];
services.openssh.enable = true;
}
+11
View File
@@ -0,0 +1,11 @@
{
description = "Minimal NixOS configuration for syncala hosts";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = { self, nixpkgs }: {
nixosConfigurations.syncala = nixpkgs.lib.nixosSystem {
modules = [ ./configuration.nix ];
};
};
}