Don‘t use nom by default
This commit is contained in:
parent
83d4cd3422
commit
97c1e6c232
|
@ -37,7 +37,7 @@ in {
|
|||
say "Building ~/.modes for apollo"
|
||||
nixPath <- myNixPath "${configPath}"
|
||||
setEnv "WITH_SECRETS" "false"
|
||||
nix_build nixPath (params ++ remoteBuildParams) &!> StdOut |> nom
|
||||
nix_build nixPath (params ++ remoteBuildParams)
|
||||
setEnv "WITH_SECRETS" "true"
|
||||
nix_build nixPath params
|
||||
activate_mode
|
||||
|
@ -53,7 +53,7 @@ in {
|
|||
nixPath <- myNixPath "${configPath}"
|
||||
mode <- getMode
|
||||
say [i|Quick switching to mode #{mode} ...|]
|
||||
home_manager (nixPath <> ["switch", "-A", [i|apollo-#{mode}|]]) &!> StdOut |> nom
|
||||
home_manager (nixPath <> ["switch", "-A", [i|apollo-#{mode}|]])
|
||||
update_modes
|
||||
'';
|
||||
selectMode = pkgs.writeHaskellScript {
|
||||
|
|
|
@ -9,8 +9,8 @@ in {
|
|||
paths <- myNixPath "${configPath}"
|
||||
args <- getArgs
|
||||
setEnv "WITH_SECRETS" "false"
|
||||
nix_build (paths ++ buildSystemParams ++ ["--no-out-link"] ++ remoteBuildParams ++ fmap toString args) &!> StdOut |> nom
|
||||
nix_build (paths ++ buildSystemParams ++ ["--no-out-link"] ++ remoteBuildParams ++ fmap toString args)
|
||||
setEnv "WITH_SECRETS" "true"
|
||||
nixos_rebuild (paths ++ ["switch"] ++ fmap toString args) &!> StdOut |> nom
|
||||
nixos_rebuild (paths ++ ["switch"] ++ fmap toString args)
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue