Minor improvements and normalization towards Quartiq workflow #6

Open
eduardotenholder wants to merge 17 commits from eduardotenholder/defenestrate:quartiq into master
3 changed files with 9 additions and 11 deletions
Showing only changes of commit 9921e719ed - Show all commits

4
README
View File

@ -10,5 +10,7 @@ On target device:
* Copy device database to ~/artiq
* Set timezone and kb layout
* Comment out openssh.authorizedKeys.keys
* sudo seal-off
* history clear
On build device:
* cat sealoff.sh | ssh rabi@artiq "sudo sh"

View File

@ -1,14 +1,6 @@
{ config, pkgs, artiq, ... }:
let
sealOff = pkgs.writeShellScriptBin "seal-off"
''
set -e
nixos-rebuild boot
nix-collect-garbage -d
'';
in {
{
imports =
Outdated
Review

This stays in the final environment and pollutes it.

This stays in the final environment and pollutes it.
[
./hardware-configuration.nix
@ -44,7 +36,6 @@ in {
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
sealOff
wget
vim
gitAndTools.gitFull

5
sealoff.sh Normal file
View File

@ -0,0 +1,5 @@
#!/bin/sh
set -e
nixos-rebuild boot
nix-collect-garbage -d