diff --git a/modules/core/default.nix b/modules/core/default.nix index e9df2b8..aed6fc1 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -8,6 +8,7 @@ ./fonts.nix ./gdm.nix ./hyprland.nix + ./localsend.nix ./network.nix ./packages.nix ./pipewire.nix diff --git a/modules/core/localsend.nix b/modules/core/localsend.nix new file mode 100644 index 0000000..cb3d89f --- /dev/null +++ b/modules/core/localsend.nix @@ -0,0 +1,16 @@ +{ + config, + lib, + ... +}: +with lib; +let + cfg = config.modules.localsend; +in +{ + config = mkIf cfg.enable { + programs.localsend = { + enable = true; + }; + }; +} \ No newline at end of file diff --git a/modules/options/default.nix b/modules/options/default.nix index 6bce156..0b05101 100644 --- a/modules/options/default.nix +++ b/modules/options/default.nix @@ -5,6 +5,7 @@ imports = [ ./displayManager.nix ./hyprland.nix + ./localsend.nix ./pipewire.nix ./plasma.nix ./shell.nix diff --git a/modules/options/localsend.nix b/modules/options/localsend.nix new file mode 100644 index 0000000..ef3cacb --- /dev/null +++ b/modules/options/localsend.nix @@ -0,0 +1,13 @@ +{ + lib, + ... +}: +with lib; +{ + options.modules.localsend = { + enable = mkEnableOption { + default = false; + description = "Enable LocalSend"; + }; + }; +} diff --git a/profiles/desktop/default.nix b/profiles/desktop/default.nix index 98d6003..d9ed72a 100644 --- a/profiles/desktop/default.nix +++ b/profiles/desktop/default.nix @@ -17,6 +17,8 @@ modules.plasma.enable = false; modules.displayManager.displayManager = "gdm"; + modules.localsend.enable = true; + modules.zsh.enable = true; modules.shell.defaultShell = "zsh";