From 60046c4f068d88e25abf64a5c56bdd636e925e91 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Wed, 15 Sep 2021 18:38:45 +0300 Subject: [PATCH] fix autostart for iso --- modules/workspace/i3/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/workspace/i3/default.nix b/modules/workspace/i3/default.nix index d0709ba..7510265 100644 --- a/modules/workspace/i3/default.nix +++ b/modules/workspace/i3/default.nix @@ -88,9 +88,7 @@ in { } ]; }; - startup = (map (command: { inherit command; }) config.startupApplications) ++ [ - { command = "${pkgs.feh}/bin/feh --bg-fill $HOME/nixos-config/misc/wallpaper"; } - ]; + startup = lib.mkIf (!config.deviceSpecific.isISO) (map (command: { inherit command; }) config.startupApplications); keybindings = let script = name: content: "exec ${pkgs.writeScript name content}"; workspaces = (builtins.genList (x: [ (toString x) (toString x) ]) 10)