New top.nix

This commit is contained in:
2026-03-06 23:16:03 +01:00
parent 62c08f617f
commit c48289d432
@@ -12,13 +12,17 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
options.wm = lib.mkOption { options = {
wm = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "hyprland"; default = "hyprland";
description = "Type of window manager to use"; description = "Type of window manager to use";
};
};
# Minimal settings that must be defined here config = {
networking.hostName = "traveldroid"; # Minimal settings that must be defined here
wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the nerar future. networking.hostName = "traveldroid";
# In generated/top.nix the chpice fopr a window manager will be effectuated wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the near future.
};
} }