mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 21:29:12 +02:00
feat[server]: also proxy roundcube
This commit is contained in:
parent
1502faf345
commit
b06c19c52b
24 changed files with 436 additions and 216 deletions
9
pkgs/config/swarsel-switch/default.nix
Normal file
9
pkgs/config/swarsel-switch/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ name, writeShellApplication, nixosConfig, ... }:
|
||||
|
||||
writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ nixosConfig.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