M hosts/desktop/default.nix => hosts/desktop/default.nix +1 -0
@@ 24,6 24,7 @@
imports = # For now, if applying to other system, swap files
[(import ./hardware-configuration.nix)] ++ # Current system hardware config @ /etc/nixos/hardware-configuration.nix
[(import ../../modules/programs/games.nix)] ++ # Gaming
+ [(import ../../modules/desktop/dm/sddm.nix)] ++ # Desktop manager
[(import ../../modules/desktop/qtile/default.nix)] ++ # Window Manager
(import ../../modules/desktop/virtualisation) ++ # Virtual Machines & VNC
(import ../../modules/hardware); # Hardware devices
M hosts/laptop/default.nix => hosts/laptop/default.nix +1 -0
@@ 21,6 21,7 @@
{
imports = # For now, if applying to other system, swap files
[(import ./hardware-configuration.nix)] ++ # Current system hardware config @ /etc/nixos/hardware-configuration.nix
+ [(import ../../modules/desktop/dm/sddm.nix)] ++ # Desktop manager
[(import ../../modules/desktop/qtile/default.nix)] ++ # Window Manager
(import ../../modules/hardware); # Hardware devices
M hosts/vm/default.nix => hosts/vm/default.nix +1 -0
@@ 21,6 21,7 @@ in {
./hardware-configuration.nix # Current system hardware config @ /etc/nixos/hardware-configuration.nix
../../modules/desktop/gnome/default.nix # Window Manager
../../modules/desktop/dm/sddm.nix # Desktop Manager
+ ../../modules/desktop/qtile/default.nix # Qtile
];
services.spice-vdagentd.enable = mkSure true;
M hosts/vm/home.nix => hosts/vm/home.nix +1 -0
@@ 17,6 17,7 @@
imports =
[
../../modules/desktop/gnome/home.nix #Window Manager
+ ../../modules/desktop/qtile/home.nix #Window Manager
];
home = { # Specific packages for desktop
A modules/desktop/qtile/default.nix => modules/desktop/qtile/default.nix +17 -0
@@ 0,0 1,17 @@
+{ config, lib, pkgs, ... }:
+
+{
+ environment = {
+ systemPackages = with pkgs; [
+ qtile
+ python310Packages.qtile-extras
+ ];
+ };
+
+ services = {
+ xserver = {
+ enable = true;
+ windowManager.qtile.enable = true;
+ };
+ };
+}
A modules/desktop/qtile/home.nix => modules/desktop/qtile/home.nix +5 -0
@@ 0,0 1,5 @@
+{ config, lib, pkgs, ... }:
+
+{
+ xdg.configFile."qtile".source = ./qtile;
+}