mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-15 13:49:11 +02:00
fix[server]: remote disk unlock breaking
This commit is contained in:
parent
b06c19c52b
commit
2d2cb3c8fe
8 changed files with 48 additions and 46 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{ name, writeShellApplication, nixosConfig, ... }:
|
||||
{ name, writeShellApplication, config, ... }:
|
||||
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ nixosConfig.nix.package ];
|
||||
runtimeInputs = [ config.nix.package ];
|
||||
text = ''
|
||||
sudo nix-env --switch-generation "$1" -p /nix/var/nix/profiles/system && sudo /nix/var/nix/profiles/system/bin/switch-to-configuration switch
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue