From 59f294acda79f3ba574e5b7a6f2e851ec10fa001 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 2 Feb 2026 15:13:05 +0100 Subject: fixed the syntax error --- configuration.nix | 4 ++-- modules/nixos/des/i3wm.nix | 8 ++++++++ modules/nixos/hyprland.nix | 7 +++++++ 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 modules/nixos/des/i3wm.nix 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 -- cgit v1.2.3