first commit

This commit is contained in:
2026-06-24 20:20:23 +02:00
commit 8fc0d08dbc
77 changed files with 5688 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
../../modules/default.nix
];
networking.hostName = "darkstar";
boot.initrd.luks.devices."luks-9cd65807-a47b-4ffe-ac11-05680b9fffb0".device = "/dev/disk/by-uuid/9cd65807-a47b-4ffe-ac11-05680b9fffb0";
time.timeZone = "Europe/Berlin";
nixpkgs.config.allowUnfree = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
services.openssh.enable = true;
}
+35
View File
@@ -0,0 +1,35 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/mapper/luks-3072c85b-5f74-4088-b78c-e9ed6e9104eb";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-3072c85b-5f74-4088-b78c-e9ed6e9104eb".device = "/dev/disk/by-uuid/3072c85b-5f74-4088-b78c-e9ed6e9104eb";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/87AD-413A";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/mapper/luks-9cd65807-a47b-4ffe-ac11-05680b9fffb0"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}