forked from M-Labs/defenestrate
create seal-off script
This commit is contained in:
parent
024a108c37
commit
60f681a33e
3
README
3
README
|
@ -4,6 +4,5 @@
|
|||
* Copy device database to ~/artiq
|
||||
* Set timezone and kb layout
|
||||
* Comment out openssh.authorizedKeys.keys
|
||||
* sudo nixos-rebuild boot
|
||||
* sudo nix-collect-garbage -d
|
||||
* sudo seal-off
|
||||
* history clear
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
{ config, pkgs, artiq, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
sealOff = pkgs.writeShellScriptBin "seal-off"
|
||||
''
|
||||
set -e
|
||||
nixos-rebuild boot
|
||||
nix-collect-garbage -d
|
||||
'';
|
||||
|
||||
in {
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
|
@ -36,6 +44,7 @@
|
|||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
sealOff
|
||||
wget
|
||||
vim
|
||||
gitAndTools.gitFull
|
||||
|
|
Loading…
Reference in New Issue