From f852a15e81dec31a1504452cc88b2c6cfdfaf860 Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 16 Apr 2026 13:58:23 +0200 Subject: [PATCH] =?UTF-8?q?Konfigfile=20aufger=C3=A4umt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration.nix | 62 ++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 30 deletions(-) diff --git a/configuration.nix b/configuration.nix index 426a55a..2e34a07 100755 --- a/configuration.nix +++ b/configuration.nix @@ -1,37 +1,38 @@ # Edit this configuration file to define what should be installed on # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). - -{ config, lib, pkgs, ... }: - -{ - imports = - [ - ./hardware-configuration.nix - ./gnome.nix -# ./plasma.nix -# ./hyprland.nix - ]; - -# Use the systemd-boot EFI boot loader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.enable = true; - - # LUKS Partition - boot.initrd.luks.devices = { - dukebook0 = { + +{ config, lib, pkgs, ... }: + +{ + imports = + [ + ./hardware-configuration.nix + ./modules/desktop/gnome.nix +# ./modules/desktop/kde.nix +# ./modules/desktop/hyprland.nix +# ./modules/desktop/niri.nix + ]; + +# Use the systemd-boot EFI boot loader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + boot.initrd.enable = true; + + # LUKS Partition + boot.initrd.luks.devices = { + dukebook0 = { device = "/dev/disk/by-uuid/92d94913-aad0-4a76-9466-c77e481693ba"; - preLVM = true; - }; - }; - - # LVM Volume Mounts - fileSystems."/home/martin/Nextcloud" = { + preLVM = true; + }; + }; + + # LVM Volume Mounts + fileSystems."/home/martin/Nextcloud" = { device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a"; - fsType = "ext4"; - }; - + fsType = "ext4"; + }; + networking.hostName = "dukebook"; # Define your hostname. # Pick only one of the below networking options. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. @@ -40,6 +41,7 @@ # Set your time zone. time.timeZone = "Europe/Berlin"; + programs.dconf.enable = true; # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; @@ -55,7 +57,7 @@ # Enable Gnome3 Keyring # services.gnome.gnome-keyring.enable = true; - # Enable CUPS to print documents. + # Enable CUPS to print documents.2 services.printing.enable = true; services.avahi = { enable = true;