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
];
options.wm = lib.mkOption {
options = {
wm = lib.mkOption {
type = lib.types.str;
default = "hyprland";
description = "Type of window manager to use";
};
};
# Minimal settings that must be defined here
networking.hostName = "traveldroid";
wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the nerar future.
# In generated/top.nix the chpice fopr a window manager will be effectuated
config = {
# Minimal settings that must be defined here
networking.hostName = "traveldroid";
wm.type = "hyprland"; # Define the window manager type here, mangowc will be made possible in the near future.
};
}