From f833439e0fea7f7d2c0b2c99c745fa273113a372 Mon Sep 17 00:00:00 2001 From: "finn@mibook" Date: Mon, 9 Feb 2026 09:42:50 +0100 Subject: [PATCH] feat: MiBook Config Update --- machines/mibook/configuration.nix | 26 ++-------------------- machines/mibook/disks.nix | 2 +- machines/mibook/environments.nix | 13 ++++++++++- machines/mibook/hardware-configuration.nix | 2 +- 4 files changed, 16 insertions(+), 27 deletions(-) diff --git a/machines/mibook/configuration.nix b/machines/mibook/configuration.nix index b7d1bfa..075d9f8 100644 --- a/machines/mibook/configuration.nix +++ b/machines/mibook/configuration.nix @@ -20,17 +20,11 @@ useOSProber = true; }; - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; # Configure keymap in X11 - services.xserver = { + services.xserver.xkb = { layout = "de"; - xkbVariant = ""; + variant = ""; }; # Configure console keymap @@ -39,22 +33,6 @@ # Enable CUPS to print documents. services.printing.enable = true; - # Enable sound with pipewire. - hardware.pulseaudio.enable = false; - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - system = { stateVersion = "23.05"; autoUpgrade.enable = true; diff --git a/machines/mibook/disks.nix b/machines/mibook/disks.nix index 6ac41c9..5fd46cf 100644 --- a/machines/mibook/disks.nix +++ b/machines/mibook/disks.nix @@ -9,7 +9,7 @@ { fileSystems."/" = { - device = "/dev/disk/by-uuid/077abdb0-cbc1-4589-b411-25ecc157488f"; + device = "/dev/disk/by-uuid/46e36a07-e75a-480a-a2f1-be103c6a3881"; fsType = "ext4"; }; } diff --git a/machines/mibook/environments.nix b/machines/mibook/environments.nix index d1a2d8e..3129b10 100644 --- a/machines/mibook/environments.nix +++ b/machines/mibook/environments.nix @@ -5,11 +5,22 @@ let in { my.profiles = { - hyprland.enable = true; + kde-desktop.enable = true; zsh.enable = true; apps = { desktop_apps = true; dev_apps = true; }; + development.enable = true; + docker.enable = true; }; + + my.hardware = { + bluetooth.enable = true; + sound.enable = false; + }; + my.services = { + vpn.enable = true; + }; + } diff --git a/machines/mibook/hardware-configuration.nix b/machines/mibook/hardware-configuration.nix index e4303e0..e53a3e4 100644 --- a/machines/mibook/hardware-configuration.nix +++ b/machines/mibook/hardware-configuration.nix @@ -24,7 +24,7 @@ boot.extraModulePackages = [ ]; fileSystems."/" = { - device = "/dev/disk/by-uuid/077abdb0-cbc1-4589-b411-25ecc157488f"; + device = "/dev/disk/by-uuid/46e36a07-e75a-480a-a2f1-be103c6a3881"; fsType = "ext4"; };