Compare commits

...

4 Commits

Author SHA1 Message Date
Naïm Camille Favier
7d5927b63c xfconf: fix package 2026-01-04 12:26:39 +01:00
Ivan Isakov
8f7d6bacb6 launchd: Restore errexit after setting up launchd agents
At the beginning of the setup script `errexit` is disabled, but never
properly enabled again at the end. This causes potential issues/errors
in activation scripts following `setupLaunchAgents` to go unnoticed,
since the build doesn't actually fail.
2026-01-04 11:30:04 +01:00
Alex Martens
12cc14271b hyprshell: fix broken links 2026-01-04 09:32:19 +01:00
Benedikt Rips
c211298f7e tree-wide: use lib.hm.assertions.assertPlatform 2026-01-04 09:31:10 +01:00
5 changed files with 6 additions and 14 deletions

View File

@@ -270,9 +270,7 @@ in
setupLaunchAgents setupLaunchAgents
# Restore errexit # Restore errexit
if [[ -o errexit ]]; then set -e
set -e
fi
''; '';
}) })
]; ];

View File

@@ -135,7 +135,7 @@ in
home.activation.xfconfSettings = lib.hm.dag.entryAfter [ "installPackages" ] ( home.activation.xfconfSettings = lib.hm.dag.entryAfter [ "installPackages" ] (
let let
mkCommand = channel: property: value: '' mkCommand = channel: property: value: ''
run ${pkgs.xfce.xfconf}/bin/xfconf-query \ run ${pkgs.xfconf}/bin/xfconf-query \
${lib.escapeShellArgs ( ${lib.escapeShellArgs (
[ [
"-c" "-c"

View File

@@ -66,10 +66,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
assertions = [ assertions = [
{ (lib.hm.assertions.assertPlatform "programs.niriswitcher" pkgs lib.platforms.linux)
assertion = pkgs.stdenv.hostPlatform.isLinux;
message = "niriswitcher is only available on Linux.";
}
]; ];
home.packages = lib.mkIf (cfg.package != null) [ cfg.package ]; home.packages = lib.mkIf (cfg.package != null) [ cfg.package ];

View File

@@ -29,7 +29,7 @@ in
default = { }; default = { };
description = '' description = ''
Configuration settings for hyprshell. All the avaiblable Configuration settings for hyprshell. All the avaiblable
options can be found here: <https://github.com/H3rmt/hyprshell/blob/hyprshell-release/CONFIGURE.md#config-options> options can be found here: <https://github.com/H3rmt/hyprshell/blob/hyprshell-release/docs/CONFIGURE.md#config-options>
''; '';
}; };
@@ -38,7 +38,7 @@ in
default = ""; default = "";
description = '' description = ''
CSS file for customizing hyprshell. All the available CSS file for customizing hyprshell. All the available
options can be found here: <https://github.com/H3rmt/hyprshell/blob/hyprshell-release/CONFIGURE.md#css> options can be found here: <https://github.com/H3rmt/hyprshell/blob/hyprshell-release/docs/CONFIGURE.md#css>
''; '';
}; };

View File

@@ -430,10 +430,7 @@ in
# Do not install any user services if username is root. # Do not install any user services if username is root.
config = mkIf (cfg.enable && config.home.username != "root") { config = mkIf (cfg.enable && config.home.username != "root") {
assertions = [ assertions = [
{ (lib.hm.assertions.assertPlatform "systemd" pkgs lib.platforms.linux)
assertion = pkgs.stdenv.isLinux;
message = "This module is only available on Linux.";
}
]; ];
xdg.configFile = mkMerge [ xdg.configFile = mkMerge [