summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfiguration.nix4
-rw-r--r--modules/nixos/des/i3wm.nix8
-rw-r--r--modules/nixos/hyprland.nix7
3 files changed, 17 insertions, 2 deletions
diff --git a/configuration.nix b/configuration.nix
index e3cb894..a8a8af4 100755
--- a/configuration.nix
+++ b/configuration.nix
@@ -7,8 +7,8 @@
# === Environment Choice ===
# Uncomment one of the following to select your environment:
- ./modules/nixos/i3wm
- #./modules/nixos/hyprland
+ ./modules/nixos/des/i3wm.nix
+ #./modules/nixos/des/hyprland.nix
];
}
diff --git a/modules/nixos/des/i3wm.nix b/modules/nixos/des/i3wm.nix
new file mode 100644
index 0000000..be5eec5
--- /dev/null
+++ b/modules/nixos/des/i3wm.nix
@@ -0,0 +1,8 @@
+{ config, lib, pkgs, ... }:
+
+{
+ services.xserver = {
+ enable = true;
+ windowManager.i3.enable = true;
+ };
+} \ No newline at end of file
diff --git a/modules/nixos/hyprland.nix b/modules/nixos/hyprland.nix
index e69de29..a13aa20 100644
--- a/modules/nixos/hyprland.nix
+++ b/modules/nixos/hyprland.nix
@@ -0,0 +1,7 @@
+{ config, lib, pkgs, ... }:
+
+{
+ services.hyprland = {
+ enable = true;
+ };
+} \ No newline at end of file