From 79f54abec2e22776e8135b8c2ca2526bbbfed899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Czy=C5=BC?= Date: Fri, 19 Apr 2024 20:38:25 +0200 Subject: [PATCH] gui rollback --- hosts/common/default.nix | 1 + hosts/{thor => common}/gui.nix | 0 hosts/thor/configuration.nix | 1 - hosts/zion/configuration.nix | 1 - hosts/zion/gui.nix | 51 ---------------------------------- 5 files changed, 1 insertion(+), 53 deletions(-) rename hosts/{thor => common}/gui.nix (100%) delete mode 100644 hosts/zion/gui.nix diff --git a/hosts/common/default.nix b/hosts/common/default.nix index c4a3e29..6a6bc59 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -8,6 +8,7 @@ }: { imports = [ ./locale.nix + ./gui.nix ./packages.nix ./services.nix ./users.nix diff --git a/hosts/thor/gui.nix b/hosts/common/gui.nix similarity index 100% rename from hosts/thor/gui.nix rename to hosts/common/gui.nix diff --git a/hosts/thor/configuration.nix b/hosts/thor/configuration.nix index 15e08c0..fa27722 100644 --- a/hosts/thor/configuration.nix +++ b/hosts/thor/configuration.nix @@ -21,7 +21,6 @@ # You can also split up your configuration and import pieces of it here: # ./users.nix ../common - ./gui.nix # Import your generated (nixos-generate-config) hardware configuration ./hardware-configuration.nix diff --git a/hosts/zion/configuration.nix b/hosts/zion/configuration.nix index c30fb7f..d2a1c5d 100644 --- a/hosts/zion/configuration.nix +++ b/hosts/zion/configuration.nix @@ -21,7 +21,6 @@ # You can also split up your configuration and import pieces of it here: # ./users.nix ../common - ./gui.nix # nvidia drivers ./nvidia.nix diff --git a/hosts/zion/gui.nix b/hosts/zion/gui.nix deleted file mode 100644 index 30429f2..0000000 --- a/hosts/zion/gui.nix +++ /dev/null @@ -1,51 +0,0 @@ -{ - inputs, - outputs, - lib, - config, - pkgs, - ... -}: { - # X Server settings - services.xserver = { - enable = true; - layout = "pl"; - xkbVariant = ""; - - displayManager = { - lightdm = { - enable = false; - }; - startx = { - enable = true; - }; - }; - - windowManager = { - dwm = { - enable = true; - }; - }; - - desktopManager = { - xfce = { - enable = false; - }; - }; - - xrandrHeads = [ - { - output = "HDMI-0"; - } - { - output = "DP-2"; - primary = true; - rate = "74.92"; - } - { - output = "DP-0"; - rate = "74.92"; - } - ]; - }; -}