aboutsummaryrefslogtreecommitdiff
path: root/nixos/spec.nix
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2025-02-23 00:36:14 +0200
committerZhongheng Liu <z.liu@outlook.com.gr>2025-02-23 00:36:14 +0200
commit00f5075f174b5c941dff095560d19c1580e74b70 (patch)
tree45c8bd9e0be48c6db912b8eb10a46044f44e94a0 /nixos/spec.nix
parentbb120b4e3d7c312d4b1c6303104cf06604e62d3d (diff)
downloadnixos-configuration-00f5075f174b5c941dff095560d19c1580e74b70.tar.gz
nixos-configuration-00f5075f174b5c941dff095560d19c1580e74b70.tar.bz2
nixos-configuration-00f5075f174b5c941dff095560d19c1580e74b70.zip
feat: add many many features
Diffstat (limited to 'nixos/spec.nix')
-rw-r--r--nixos/spec.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/nixos/spec.nix b/nixos/spec.nix
new file mode 100644
index 0000000..77ac310
--- /dev/null
+++ b/nixos/spec.nix
@@ -0,0 +1,25 @@
+{ config, pkgs, lib, ... }: {
+ specialisation = {
+ wayland = {
+ configuration = {
+ programs = {
+ hyprland = {
+ enable = true; # enables Hyprland DM.
+ withUWSM = true; # NEW Universal Wayland Session Manager
+ };
+ };
+ };
+ };
+ xorg = {
+ configuration = lib.recursiveUpdate
+ {
+ services.xserver.displayManager.startx.enable = true;
+ }
+ (import ./dwm {
+ inherit config;
+ inherit pkgs;
+ inherit lib;
+ });
+ };
+ };
+}