initial commit
This commit is contained in:
6
hosts/default/default.nix
Normal file
6
hosts/default/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./host-packages.nix
|
||||
];
|
||||
}
|
||||
35
hosts/default/hardware.nix
Normal file
35
hosts/default/hardware.nix
Normal 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;
|
||||
}
|
||||
29
hosts/default/host-packages.nix
Normal file
29
hosts/default/host-packages.nix
Normal 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
|
||||
];
|
||||
}
|
||||
57
hosts/default/variables.nix
Normal file
57
hosts/default/variables.nix
Normal 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";
|
||||
}
|
||||
Reference in New Issue
Block a user