From 3c735e9483f35fe1c1373357facf879e5d449fb2 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 8 Feb 2022 17:04:52 -0800 Subject: i3: move configuration to home-manager --- modules/desktop/default.nix | 1 - modules/desktop/i3.nix | 19 ------------------- modules/desktop/xserver.nix | 19 ------------------- 3 files changed, 39 deletions(-) delete mode 100644 modules/desktop/i3.nix delete mode 100644 modules/desktop/xserver.nix (limited to 'modules/desktop') diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index 5cd6fbd..b2d2101 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -1,7 +1,6 @@ {lib, config, pkgs, ...}: { imports = [ - ./xserver.nix ./fonts.nix ./sound.nix ]; diff --git a/modules/desktop/i3.nix b/modules/desktop/i3.nix deleted file mode 100644 index aecbf63..0000000 --- a/modules/desktop/i3.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - services.xserver.windowManager = { - i3.enable = true; - }; - - programs.rofi = { - enable = true; - theme = "purple"; - - extraConfig = { - modi = "drun"; - show-icons = true; - icon-theme = "Numix-Square"; - combi-modi = "window,drun,ssh"; - }; - }; -} diff --git a/modules/desktop/xserver.nix b/modules/desktop/xserver.nix deleted file mode 100644 index a26dc56..0000000 --- a/modules/desktop/xserver.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ pkgs, config, lib, ... }: - -{ - # Enable the X11 windowing system. - services.xserver = { - enable = true; - layout = "us"; - xkbOptions = "eurosign:e"; - - desktopManager = { - xterm.enable = false; - }; - - displayManager = { - defaultSession = "none+i3"; - lightdm.enable = true; - }; - }; -} -- cgit 1.4.1