initial commit

This commit is contained in:
2025-06-15 18:21:36 +02:00
commit fd4e2a19cc
23 changed files with 2290 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
{ pkgs, lib, ... }:
{
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
services.greetd = {
enable = true;
settings.default_session = {
command = "Hyprland";
user = "lukas";
};
};
environment.systemPackages = with pkgs; [
hyprpicker hyprpaper hyprcursor
waybar swaylock grim slurp wl-clipboard kitty
];
}

View File

@@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
# X11/KDE Plasma
services.xserver.enable = true;
services.displayManager.sddm.enable = true;
services.desktopManager.plasma6.enable = true;
# Tastatur
services.xserver.xkb = {
layout = "de";
variant = "";
# swap caps and esc
options = "caps:swapescape";
};
# Konsole-Tastatur
console.keyMap = "de";
}

View File

@@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
networking.networkmanager.enable = true;
}

12
modules/system/audio.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}

18
modules/system/locale.nix Normal file
View File

@@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "de_DE.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
}

View File

@@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
services.printing.enable = true;
}