Set up Hyprland config. Restructured Desktop environment configs into separate folders.

This commit is contained in:
2025-08-27 13:17:51 +02:00
parent 75b84ddd0f
commit 81693b8ad8
13 changed files with 500 additions and 136 deletions

View File

@ -31,7 +31,7 @@
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
grub = {
enable = true;
device = "/dev/sdb"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
device = "/dev/sda"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
@ -60,6 +60,10 @@
# Enable networking
networking.networkmanager.enable = true;
networking.extraHosts = ''
100.89.141.79 tail-rpi
'';
# Set your time zone.
time.timeZone = "Europe/Berlin";
@ -101,6 +105,9 @@
meslo-lgs-nf
];
#In order for dynamically linked executables to work
programs.nix-ld.enable = true;
# Configure console keymap
console.keyMap = "de";
@ -136,6 +143,12 @@
];
};
environment.etc."gitconfig".text = ''
[init]
defaultBranch = main
'';
#So no user in the group Wheel has to input the password in order to use sudo
security.sudo.wheelNeedsPassword = false;
@ -159,6 +172,23 @@
# enable = true;
# enableSSHSupport = true;
# };
services = {
xserver = {
enable = true;
xkb = {
layout = "de";
variant = "";
};
};
displayManager.sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
};
};
# List services that you want to enable: