1
0
Fork 0

Small script improvements

This commit is contained in:
Malte Brandy 2021-02-21 04:42:12 +01:00
parent 6bd90463c0
commit e4a4332292
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -39,7 +39,7 @@ in {
setEnv "WITH_SECRETS" "false"
nix_build nixPath (params ++ remoteBuildParams) &!> StdOut |> nom
setEnv "WITH_SECRETS" "true"
nix_build nixPath params
nix_build nixPath params &!> StdOut |> nom
activate_mode
'';
quickUpdateMode = pkgs.writeHaskellScript {
@ -73,8 +73,8 @@ in {
clear
writeFile "/home/maralorn/volatile/mode" mode
activate_mode
void $ (try $ swaymsg "exit" :: IO (Either SomeException ()))
void $ (try $ gnome_session_quit "--no-prompt" :: IO (Either SomeException ()))
ignoreFailure $ swaymsg "exit"
ignoreFailure $ gnome_session_quit "--no-prompt"
'';
inherit (pkgs.gnome3) nautilus;