mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
Compare commits
4 Commits
1cfa305fba
...
7d5927b63c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d5927b63c | ||
|
|
8f7d6bacb6 | ||
|
|
12cc14271b | ||
|
|
c211298f7e |
@@ -270,9 +270,7 @@ in
|
|||||||
setupLaunchAgents
|
setupLaunchAgents
|
||||||
|
|
||||||
# Restore errexit
|
# Restore errexit
|
||||||
if [[ -o errexit ]]; then
|
set -e
|
||||||
set -e
|
|
||||||
fi
|
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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 ];
|
||||||
|
|||||||
@@ -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>
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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 [
|
||||||
|
|||||||
Reference in New Issue
Block a user