update swaylock settings

This commit is contained in:
2026-03-25 15:25:40 +01:00
parent 3f733152e6
commit c2c37cc50a
9 changed files with 172 additions and 17 deletions

View File

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

View File

@@ -0,0 +1,33 @@
# 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 = [ "xhci_pci" "ahci" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/6c8580c1-d4cb-40be-bc28-fa98a4ad9b57";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1801-0D6D";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/c3bdf4bd-fc46-4443-9282-a8a1de81c5c2"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -0,0 +1,25 @@
{
pkgs,
pkgs-unstable,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
# Communication
pkgs-unstable.signal-desktop
element-desktop
# Browser
inputs.zen-browser.packages."x86_64-linux".default
# 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";
}