Skip to content

Commit

Permalink
Revert "Make /run/keys a ramfs so it can't be swapped out"
Browse files Browse the repository at this point in the history
Now part of nixpkgs

This reverts commit b9f01e1.

Signed-off-by: Shea Levy <[email protected]>
  • Loading branch information
shlevy committed Feb 5, 2014
1 parent b9f01e1 commit b60dda3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions nix/keys.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,10 @@ with pkgs.lib;

config = {

boot.postBootCommands = ''
mkdir -p /run/keys -m 0700
mount -t ramfs none /run/keys
'';

system.activationScripts.nixops-keys =
''
mkdir -p /run/keys -m 0700
${optionalString config.deployment.storeKeysOnMachine
(concatStrings (mapAttrsToList (name: value:
let
Expand Down

0 comments on commit b60dda3

Please sign in to comment.