diff options
author | notgne2 | 2021-01-05 16:44:00 -0700 |
---|---|---|
committer | notgne2 | 2021-01-05 16:44:00 -0700 |
commit | a9a5c4bd1ef7a2db264dddd1dc51ac315ddbb606 (patch) | |
tree | eeb407e332aaad61af736e9bbc349444c82f4137 /flake.nix | |
parent | 4ba83f14ceb7136794e7676b71688b903d2c60ab (diff) |
Automatically filter out `default` line from loader.conf after NixOS activation
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -80,7 +80,12 @@ ]; }; - nixos = base: custom base.config.system.build.toplevel "$PROFILE/bin/switch-to-configuration switch"; + nixos = base: custom base.config.system.build.toplevel '' + $PROFILE/bin/switch-to-configuration switch + + # https://github.com/serokell/deploy-rs/issues/31 + sed -i '/^default /d' /boot/loader/loader.conf + ''; noop = base: custom base ":"; }; |