fucking(refactored): everything

This commit is contained in:
2025-10-16 01:25:34 +01:00
parent e25053b02d
commit 34730d793c
44 changed files with 344 additions and 161 deletions

View File

@@ -1,6 +1,12 @@
{ inputs, pkgs, ... }:
{
inputs,
config,
lib,
pkgs,
...
}:
let
cfg = config.modules.Hyprland;
in
{
imports = [
@@ -8,7 +14,10 @@ in
./runner.nix
./screenshot.nix
];
wayland.windowManager.hyprland = {
options.modules.Hyprland = {
enable = lib.mkEnableOption "Hyprland";
};
config.wayland.windowManager.hyprland = lib.mkIf cfg.enable {
enable = true;
# set the flake package
# settings = { };
@@ -17,8 +26,8 @@ in
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};
# todo, split this into its own module;
programs.foot = {
# TODO, split this into its own module;
config.programs.foot = lib.mkIf cfg.enable {
enable = true;
settings = {
main = {