From 260864caf9583b50ae45cc0e04a88d7c673c8970 Mon Sep 17 00:00:00 2001 From: Dustin Frisch Date: Mon, 18 Nov 2024 16:06:26 +0100 Subject: [PATCH] Make desktop work --- client/desktop.nix | 4 ++++ machines/nfs/netinstaller.nix | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/desktop.nix b/client/desktop.nix index 4b2b875..f0b4a72 100644 --- a/client/desktop.nix +++ b/client/desktop.nix @@ -50,6 +50,7 @@ gnome.geary gnome.gnome-calendar gnome.gnome-contacts + xterm ]; programs.dconf = { @@ -61,6 +62,9 @@ "org/gnome/desktop/interface".color-scheme = "prefer-dark"; "org/gnome/desktop/wm/keybindings".close = [ "q" ]; + + "org/gnome/settings-daemon/plugins/power".power-button-action = "shutdown"; + "org/gnome/settings-daemon/plugins/power".sleep-inactive-ac-type = "nothing"; }; } ]; diff --git a/machines/nfs/netinstaller.nix b/machines/nfs/netinstaller.nix index 3fad24a..2a74b73 100644 --- a/machines/nfs/netinstaller.nix +++ b/machines/nfs/netinstaller.nix @@ -28,9 +28,9 @@ let --no-root-password \ --verbose - # umount -R /mnt + umount -R /mnt - # reboot + reboot ''; ipxe-script = pkgs.writeText "boot-local.ipxe" ''