initial commit

This commit is contained in:
2026-03-24 19:07:42 +01:00
commit 7a2f92fd98
112 changed files with 12548 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{ ... }: {
imports = [
./hardware.nix
./host-packages.nix
];
}

View File

@@ -0,0 +1,35 @@
# Do not modify this file! It was generated by 'nixos-generate-config'
# Replace with actual hardware scan output for the target laptop.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
device = "/dev/disk/by-uuid/CHANGEME";
fsType = "ext4";
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/CHANGEME";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -0,0 +1,29 @@
{
pkgs,
pkgs-unstable,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
# Communication
pkgs-unstable.signal-desktop
element-desktop
# Browser
inputs.zen-browser.packages."x86_64-linux".default
# Screen locking (niri)
swaylock
swayidle
# Dev tools
nodejs
python3
gnumake
gcc
# Security
gnupg
kdePackages.kleopatra
];
}

View File

@@ -0,0 +1,57 @@
{
# Git Configuration
gitUsername = "Benno Lorenz";
gitEmail = "benno@benno-lorenz.com";
# Desktop Environment — Niri (scrolling tiling WM)
desktopEnvironment = "niri";
# Display Manager
# `tui` for text login, `sddm` for graphical GUI
displayManager = "sddm";
# Bundled application toggles
tmuxEnable = true;
alacrittyEnable = false;
weztermEnable = false;
ghosttyEnable = true;
vscodeEnable = true;
helixEnable = false;
doomEmacsEnable = false;
# Monitor settings (adjust per-machine)
extraMonitorSettings = "
";
# Waybar settings
clock24h = true;
# Default browser (must be installed separately in host-packages.nix)
browser = "zen";
# Default terminal emulator
terminal = "ghostty";
# Keyboard layout
keyboardLayout = "de";
keyboardVariant = "";
consoleKeyMap = "de";
# NFS support
enableNFS = false;
# Printing support
printEnable = false;
# Thunar GUI file manager (Yazi is default)
thunarEnable = true;
# Stylix theme image — sets the system color palette
stylixImage = ../../wallpapers/Amagi.jpeg;
# Waybar style
waybarChoice = ../../modules/home/waybar/waybar-curved.nix;
# Network host ID (needed for zfs, otherwise leave as-is)
hostId = "5ab03f50";
}