1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

treewide: remove no-ops (#8061)

This commit is contained in:
Benedikt M. Rips 2025-10-26 21:43:53 +01:00 committed by GitHub
parent 879e4d9060
commit f2f1076c1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 302 additions and 414 deletions

View file

@ -17,23 +17,21 @@
lib lib
pkgs pkgs
; ;
configuration = configuration = {
{ ... }: imports = modules ++ [
{ {
imports = modules ++ [ programs.home-manager.path = builtins.path {
{ path = ../.;
programs.home-manager.path = builtins.path { name = "source";
path = ../.; };
name = "source"; }
}; ];
}
];
nixpkgs = { nixpkgs = {
config = lib.mkDefault pkgs.config; config = lib.mkDefault pkgs.config;
inherit (pkgs) overlays; inherit (pkgs) overlays;
};
}; };
};
}; };
} }

View file

@ -13,43 +13,40 @@ let
renderSettings = settings: lib.concatStringsSep ";" (lib.mapAttrsToList renderSetting settings); renderSettings = settings: lib.concatStringsSep ";" (lib.mapAttrsToList renderSetting settings);
pluginModule = types.submodule ( pluginModule = types.submodule ({
{ ... }: options = {
{ src = mkOption {
options = { type = with types; nullOr path;
src = mkOption { example = literalExpression ''
type = with types; nullOr path; (pkgs.fetchFromGitHub {
example = literalExpression '' owner = "jarun";
(pkgs.fetchFromGitHub { repo = "nnn";
owner = "jarun"; rev = "v4.0";
repo = "nnn"; sha256 = "sha256-Hpc8YaJeAzJoEi7aJ6DntH2VLkoR6ToP6tPYn3llR7k=";
rev = "v4.0"; }) + "/plugins";
sha256 = "sha256-Hpc8YaJeAzJoEi7aJ6DntH2VLkoR6ToP6tPYn3llR7k="; '';
}) + "/plugins"; default = null;
''; description = ''
default = null; Path to the plugin folder.
description = '' '';
Path to the plugin folder.
'';
};
mappings = mkOption {
type = with types; attrsOf str;
description = ''
Key mappings to the plugins.
'';
default = { };
example = literalExpression ''
{
c = "fzcd";
f = "finder";
v = "imgview";
};
'';
};
}; };
}
); mappings = mkOption {
type = with types; attrsOf str;
description = ''
Key mappings to the plugins.
'';
default = { };
example = literalExpression ''
{
c = "fzcd";
f = "finder";
v = "imgview";
};
'';
};
};
});
in in
{ {
meta.maintainers = with lib.maintainers; [ thiagokokada ]; meta.maintainers = with lib.maintainers; [ thiagokokada ];

View file

@ -21,49 +21,45 @@ in
options.services.swayidle = options.services.swayidle =
let let
timeoutModule = timeoutModule = {
{ ... }: options = {
{ timeout = mkOption {
options = { type = types.ints.positive;
timeout = mkOption { example = 60;
type = types.ints.positive; description = "Timeout in seconds.";
example = 60; };
description = "Timeout in seconds.";
};
command = mkOption { command = mkOption {
type = types.str; type = types.str;
description = "Command to run after timeout seconds of inactivity."; description = "Command to run after timeout seconds of inactivity.";
}; };
resumeCommand = mkOption { resumeCommand = mkOption {
type = with types; nullOr str; type = with types; nullOr str;
default = null; default = null;
description = "Command to run when there is activity again."; description = "Command to run when there is activity again.";
};
}; };
}; };
};
eventModule = eventModule = {
{ ... }: options = {
{ event = mkOption {
options = { type = types.enum [
event = mkOption { "before-sleep"
type = types.enum [ "after-resume"
"before-sleep" "lock"
"after-resume" "unlock"
"lock" ];
"unlock" description = "Event name.";
]; };
description = "Event name.";
};
command = mkOption { command = mkOption {
type = types.str; type = types.str;
description = "Command to run when event occurs."; description = "Command to run when event occurs.";
};
}; };
}; };
};
in in
{ {

View file

@ -42,7 +42,7 @@ let
if lib.isDerivation value then scrubbedValue // newDrvAttrs else scrubbedValue if lib.isDerivation value then scrubbedValue // newDrvAttrs else scrubbedValue
else else
value; value;
scrubDerivations = attrs: lib.mapAttrs scrubDerivation attrs; scrubDerivations = lib.mapAttrs scrubDerivation;
# Globally unscrub a few selected packages that are used by a wide selection of tests. # Globally unscrub a few selected packages that are used by a wide selection of tests.
whitelist = whitelist =
@ -111,10 +111,7 @@ let
pkgs = pkgs =
let let
overlays = overlays =
config.test.stubOverlays config.test.stubOverlays ++ lib.optionals (config.nixpkgs.overlays != null) config.nixpkgs.overlays;
++ lib.optionals (
config.nixpkgs.overlays != null && config.nixpkgs.overlays != [ ]
) config.nixpkgs.overlays;
stubbedPkgs = stubbedPkgs =
if overlays == [ ] then if overlays == [ ] then
scrubbedPkgs scrubbedPkgs

View file

@ -4,30 +4,26 @@
name = "nixos-basics"; name = "nixos-basics";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ ../../../nixos ]; # Import the HM NixOS module.
{
imports = [ ../../../nixos ]; # Import the HM NixOS module.
virtualisation.memorySize = 2048; virtualisation.memorySize = 2048;
users.users.alice = { users.users.alice = {
isNormalUser = true; isNormalUser = true;
description = "Alice Foobar"; description = "Alice Foobar";
password = "foobar"; password = "foobar";
uid = 1000; uid = 1000;
};
home-manager.users.alice =
{ ... }:
{
home.stateVersion = "24.11";
home.file.test.text = "testfile";
# Enable a light-weight systemd service.
services.pueue.enable = true;
};
}; };
home-manager.users.alice = {
home.stateVersion = "24.11";
home.file.test.text = "testfile";
# Enable a light-weight systemd service.
services.pueue.enable = true;
};
};
testScript = '' testScript = ''
def login_as_alice(): def login_as_alice():
machine.wait_until_tty_matches("1", "login: ") machine.wait_until_tty_matches("1", "login: ")

View file

@ -1,4 +1,3 @@
{ ... }:
{ {
imports = [ ../../../nixos ]; # Import the HM NixOS module. imports = [ ../../../nixos ]; # Import the HM NixOS module.
@ -9,11 +8,9 @@
}; };
home-manager = { home-manager = {
users.alice = users.alice = {
{ ... }: home.stateVersion = "24.11";
{ home.file.test.text = "testfile new profile";
home.stateVersion = "24.11"; };
home.file.test.text = "testfile new profile";
};
}; };
} }

View file

@ -4,52 +4,46 @@
name = "nixos-legacy-profile-management"; name = "nixos-legacy-profile-management";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [
{ # Make the nixpkgs channel available.
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix"
# Make the nixpkgs channel available. # Import the HM NixOS module.
"${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ../../../nixos
# Import the HM NixOS module. ];
../../../nixos
];
system.stateVersion = "24.11"; system.stateVersion = "24.11";
users.users.alice = { users.users.alice = {
isNormalUser = true; isNormalUser = true;
}; };
specialisation = { specialisation = {
legacy.configuration = { legacy.configuration = {
home-manager = { home-manager = {
# Force legacy profile management. # Force legacy profile management.
enableLegacyProfileManagement = true; enableLegacyProfileManagement = true;
users.alice = users.alice = {
{ ... }: home.stateVersion = "24.11";
{ home.file.test.text = "testfile legacy";
home.stateVersion = "24.11";
home.file.test.text = "testfile legacy";
};
}; };
}; };
};
modern.configuration = { modern.configuration = {
home-manager = { home-manager = {
# Assert that we expect the option to default to false. # Assert that we expect the option to default to false.
enableLegacyProfileManagement = pkgs.lib.mkOptionDefault false; enableLegacyProfileManagement = pkgs.lib.mkOptionDefault false;
users.alice = users.alice = {
{ ... }: home.stateVersion = "24.11";
{ home.file.test.text = "testfile modern";
home.stateVersion = "24.11";
home.file.test.text = "testfile modern";
};
}; };
}; };
}; };
}; };
};
testScript = testScript =
{ nodes, ... }: { nodes, ... }:

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
home.username = "alice"; home.username = "alice";
home.homeDirectory = "/home/alice"; home.homeDirectory = "/home/alice";

View file

@ -4,28 +4,26 @@
name = "standalone-flake-basics"; name = "standalone-flake-basics";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 3072;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; nix = {
virtualisation.memorySize = 3072; registry.home-manager.to = {
nix = { type = "path";
registry.home-manager.to = { path = ../../..;
type = "path";
path = ../../..;
};
settings.extra-experimental-features = [
"nix-command"
"flakes"
];
};
users.users.alice = {
isNormalUser = true;
description = "Alice Foobar";
password = "foobar";
uid = 1000;
}; };
settings.extra-experimental-features = [
"nix-command"
"flakes"
];
}; };
users.users.alice = {
isNormalUser = true;
description = "Alice Foobar";
password = "foobar";
uid = 1000;
};
};
testScript = '' testScript = ''
start_all() start_all()

View file

@ -10,19 +10,17 @@ in
name = "home-with-symbols"; name = "home-with-symbols";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; users.users.alice = {
virtualisation.memorySize = 2048; isNormalUser = true;
users.users.alice = { description = "Alice Foobar";
isNormalUser = true; password = "foobar";
description = "Alice Foobar"; uid = 1000;
password = "foobar"; home = nixHome;
uid = 1000;
home = nixHome;
};
}; };
};
testScript = '' testScript = ''
import shlex import shlex

View file

@ -3,18 +3,16 @@
name = "kitty-theme-path"; name = "kitty-theme-path";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; users.users.alice = {
virtualisation.memorySize = 2048; isNormalUser = true;
users.users.alice = { description = "Alice Foobar";
isNormalUser = true; password = "foobar";
description = "Alice Foobar"; uid = 1000;
password = "foobar";
uid = 1000;
};
}; };
};
testScript = '' testScript = ''
start_all() start_all()

View file

@ -2,18 +2,16 @@
{ {
name = "mu-store-init"; name = "mu-store-init";
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; users.users.alice = {
virtualisation.memorySize = 2048; isNormalUser = true;
users.users.alice = { description = "Alice Foobar";
isNormalUser = true; password = "foobar";
description = "Alice Foobar"; uid = 1000;
password = "foobar";
uid = 1000;
};
}; };
};
testScript = '' testScript = ''
start_all() start_all()

View file

@ -9,30 +9,28 @@ in
name = "works-with-nh-stable"; name = "works-with-nh-stable";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; environment.systemPackages = [ pkgs.nh ];
virtualisation.memorySize = 2048; nix = {
environment.systemPackages = [ pkgs.nh ]; registry.home-manager.to = {
nix = { type = "path";
registry.home-manager.to = { path = ../../..;
type = "path";
path = ../../..;
};
settings.extra-experimental-features = [
"nix-command"
"flakes"
];
};
users.users.alice = {
isNormalUser = true;
description = "Alice Foobar";
password = "foobar";
uid = 1000;
inherit home;
}; };
settings.extra-experimental-features = [
"nix-command"
"flakes"
];
}; };
users.users.alice = {
isNormalUser = true;
description = "Alice Foobar";
password = "foobar";
uid = 1000;
inherit home;
};
};
testScript = '' testScript = ''
import shlex import shlex

View file

@ -24,21 +24,19 @@ in
{ {
name = "restic"; name = "restic";
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; users.users.alice = {
virtualisation.memorySize = 2048; isNormalUser = true;
users.users.alice = { description = "Alice Foobar";
isNormalUser = true; password = "foobar";
description = "Alice Foobar"; uid = 1000;
password = "foobar";
uid = 1000;
};
security.polkit.enable = true;
}; };
security.polkit.enable = true;
};
testScript = '' testScript = ''
start_all() start_all()
machine.wait_for_unit("network.target") machine.wait_for_unit("network.target")

View file

@ -4,18 +4,16 @@
name = "standalone-specialisation"; name = "standalone-specialisation";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; users.users.alice = {
virtualisation.memorySize = 2048; isNormalUser = true;
users.users.alice = { description = "Alice Foobar";
isNormalUser = true; password = "foobar";
description = "Alice Foobar"; uid = 1000;
password = "foobar";
uid = 1000;
};
}; };
};
testScript = '' testScript = ''
start_all() start_all()

View file

@ -4,18 +4,16 @@
name = "standalone-standard-basics"; name = "standalone-standard-basics";
meta.maintainers = [ pkgs.lib.maintainers.rycee ]; meta.maintainers = [ pkgs.lib.maintainers.rycee ];
nodes.machine = nodes.machine = {
{ ... }: imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ];
{ virtualisation.memorySize = 2048;
imports = [ "${pkgs.path}/nixos/modules/installer/cd-dvd/channel.nix" ]; users.users.alice = {
virtualisation.memorySize = 2048; isNormalUser = true;
users.users.alice = { description = "Alice Foobar";
isNormalUser = true; password = "foobar";
description = "Alice Foobar"; uid = 1000;
password = "foobar";
uid = 1000;
};
}; };
};
testScript = '' testScript = ''
start_all() start_all()

View file

@ -36,35 +36,33 @@ in
}; };
}; };
home-cursor-legacy-disabled = home-cursor-legacy-disabled = {
{ ... }: config = {
{ home.pointerCursor = null;
config = {
home.pointerCursor = null;
home.stateVersion = "24.11"; home.stateVersion = "24.11";
test.asserts.warnings.expected = [ test.asserts.warnings.expected = [
'' ''
Setting home.pointerCursor to null is deprecated. Setting home.pointerCursor to null is deprecated.
Please update your configuration to explicitly set: Please update your configuration to explicitly set:
home.pointerCursor.enable = false; home.pointerCursor.enable = false;
'' ''
]; ];
nmt.script = '' nmt.script = ''
assertPathNotExists home-path/share/icons/catppuccin-macchiato-blue-cursors/index.theme assertPathNotExists home-path/share/icons/catppuccin-macchiato-blue-cursors/index.theme
hmEnvFile=home-path/etc/profile.d/hm-session-vars.sh hmEnvFile=home-path/etc/profile.d/hm-session-vars.sh
assertFileExists $hmEnvFile assertFileExists $hmEnvFile
assertFileNotRegex $hmEnvFile 'XCURSOR_THEME="catppuccin-macchiato-blue-standard"' assertFileNotRegex $hmEnvFile 'XCURSOR_THEME="catppuccin-macchiato-blue-standard"'
assertFileNotRegex $hmEnvFile 'XCURSOR_SIZE="32"' assertFileNotRegex $hmEnvFile 'XCURSOR_SIZE="32"'
assertFileNotRegex $hmEnvFile 'HYPRCURSOR_THEME="catppuccin-macchiato-blue-standard"' assertFileNotRegex $hmEnvFile 'HYPRCURSOR_THEME="catppuccin-macchiato-blue-standard"'
assertFileNotRegex $hmEnvFile 'HYPRCURSOR_SIZE="32"' assertFileNotRegex $hmEnvFile 'HYPRCURSOR_SIZE="32"'
''; '';
};
}; };
};
home-cursor-legacy-disabled-with-enable = home-cursor-legacy-disabled-with-enable =
{ config, ... }: { config, ... }:

View file

@ -1,21 +1,19 @@
{ {
i18n = i18n = {
{ ... }: config = {
{ nmt.script = ''
config = { hmEnvFile=home-path/etc/profile.d/hm-session-vars.sh
nmt.script = '' assertFileExists $hmEnvFile
hmEnvFile=home-path/etc/profile.d/hm-session-vars.sh assertFileRegex $hmEnvFile \
assertFileExists $hmEnvFile '^export LOCALE_ARCHIVE_._..=".*/lib/locale/locale-archive"$'
assertFileRegex $hmEnvFile \
'^export LOCALE_ARCHIVE_._..=".*/lib/locale/locale-archive"$'
envFile=home-files/.config/environment.d/10-home-manager.conf envFile=home-files/.config/environment.d/10-home-manager.conf
assertFileExists $envFile assertFileExists $envFile
assertFileRegex $envFile \ assertFileRegex $envFile \
'^LOCALE_ARCHIVE_._..=.*/lib/locale/locale-archive$' '^LOCALE_ARCHIVE_._..=.*/lib/locale/locale-archive$'
''; '';
};
}; };
};
i18n-custom-locales = i18n-custom-locales =
{ config, pkgs, ... }: { config, pkgs, ... }:

View file

@ -1,22 +1,8 @@
{ ... }:
{ {
imports = [ home.sessionPath = [
( "bar"
{ ... }: "baz"
{ "foo"
config.home.sessionPath = [ "foo" ];
}
)
(
{ ... }:
{
config.home.sessionPath = [
"bar"
"baz"
];
}
)
]; ];
nmt.script = '' nmt.script = ''

View file

@ -1,22 +1,8 @@
{ ... }:
{ {
imports = [ home.sessionSearchVariables.TEST = [
( "bar"
{ ... }: "baz"
{ "foo"
config.home.sessionSearchVariables.TEST = [ "foo" ];
}
)
(
{ ... }:
{
config.home.sessionSearchVariables.TEST = [
"bar"
"baz"
];
}
)
]; ];
nmt.script = '' nmt.script = ''

View file

@ -37,16 +37,14 @@ let
in in
{ {
config = { home.sessionVariables = {
home.sessionVariables = { V1 = "v1";
V1 = "v1"; V2 = "v2-${config.home.sessionVariables.V1}";
V2 = "v2-${config.home.sessionVariables.V1}";
};
nmt.script = ''
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
assertFileContent home-path/etc/profile.d/hm-session-vars.sh \
${expected}
'';
}; };
nmt.script = ''
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
assertFileContent home-path/etc/profile.d/hm-session-vars.sh \
${expected}
'';
} }

View file

@ -1,29 +1,26 @@
{ ... }:
{ {
config = { xdg.mime.enable = true;
xdg.mime.enable = true; xdg.desktopEntries = {
xdg.desktopEntries = { mime-test = {
mime-test = { # mime info test
# mime info test name = "mime-test";
name = "mime-test"; mimeType = [
mimeType = [ "text/html"
"text/html" "text/xml"
"text/xml" ];
];
};
}; };
nmt.script = ''
assertFileExists home-path/share/applications/mimeinfo.cache # Check that update-desktop-database created file
# Check that update-desktop-database file matches expected
assertFileContent \
home-path/share/applications/mimeinfo.cache \
${./mime-expected.cache}
assertDirectoryExists home-path/share/mime # Check that update-mime-database created directory
assertDirectoryNotEmpty home-path/share/mime # Check that update-mime-database created files
'';
}; };
nmt.script = ''
assertFileExists home-path/share/applications/mimeinfo.cache # Check that update-desktop-database created file
# Check that update-desktop-database file matches expected
assertFileContent \
home-path/share/applications/mimeinfo.cache \
${./mime-expected.cache}
assertDirectoryExists home-path/share/mime # Check that update-mime-database created directory
assertDirectoryNotEmpty home-path/share/mime # Check that update-mime-database created files
'';
} }

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
programs.ashell = { programs.ashell = {
enable = true; enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
programs = { programs = {
bash.enable = true; bash.enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
programs.keepassxc = { programs.keepassxc = {
enable = true; enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
programs.keepassxc = { programs.keepassxc = {
enable = true; enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
programs = { programs = {
kubeswitch.enable = true; kubeswitch.enable = true;

View file

@ -1,4 +1,3 @@
{ ... }:
{ {
programs.lazydocker = { programs.lazydocker = {
enable = true; enable = true;

View file

@ -1,4 +1,3 @@
{ ... }:
{ {
programs.lazydocker.enable = true; programs.lazydocker.enable = true;
test.stubs.lazydocker = { }; test.stubs.lazydocker = { };

View file

@ -1,4 +1,3 @@
{ ... }:
{ {
programs.swaylock.settings = { }; programs.swaylock.settings = { };

View file

@ -1,4 +1,3 @@
{ ... }:
{ {
programs.uv = { programs.uv = {
enable = true; enable = true;

View file

@ -1,20 +1,11 @@
{ {
imports = [ programs.zsh = {
( enable = true;
{ ... }: history.ignorePatterns = [
{ "echo *"
config.programs.zsh.history.ignorePatterns = [ "echo *" ]; "rm *"
} ];
) };
(
{ ... }:
{
config.programs.zsh.history.ignorePatterns = [ "rm *" ];
}
)
];
programs.zsh.enable = true;
nmt.script = '' nmt.script = ''
assertFileContains home-files/.zshrc "HISTORY_IGNORE='(echo *|rm *)'" assertFileContains home-files/.zshrc "HISTORY_IGNORE='(echo *|rm *)'"

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
services.clipse = { services.clipse = {
enable = true; enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
services.easyeffects = { services.easyeffects = {
enable = true; enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
services.easyeffects = { services.easyeffects = {
enable = true; enable = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{ {
systemd.user.slices.app-test = { systemd.user.slices.app-test = {
Unit = { Unit = {

View file

@ -108,8 +108,7 @@ in
lib.test.mkStubPackage = mkStubPackage; lib.test.mkStubPackage = mkStubPackage;
test.stubOverlays = test.stubOverlays =
[ ] lib.optional (config.test.stubs != { }) (
++ lib.optional (config.test.stubs != { }) (
self: super: self: super:
lib.mapAttrs ( lib.mapAttrs (
n: v: n: v: