Minor improvements and normalization towards Quartiq workflow #6
3
README
3
README
|
@ -4,6 +4,5 @@
|
||||||
* Copy device database to ~/artiq
|
* Copy device database to ~/artiq
|
||||||
* Set timezone and kb layout
|
* Set timezone and kb layout
|
||||||
* Comment out openssh.authorizedKeys.keys
|
* Comment out openssh.authorizedKeys.keys
|
||||||
* sudo nixos-rebuild boot
|
* sudo seal-off
|
||||||
* sudo nix-collect-garbage -d
|
|
||||||
* history clear
|
* history clear
|
||||||
|
|
|
@ -1,6 +1,14 @@
|
||||||
{ config, pkgs, artiq, ... }:
|
{ config, pkgs, artiq, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
sealOff = pkgs.writeShellScriptBin "seal-off"
|
||||||
|
|||||||
|
''
|
||||||
|
set -e
|
||||||
|
nixos-rebuild boot
|
||||||
|
nix-collect-garbage -d
|
||||||
|
'';
|
||||||
|
|
||||||
|
in {
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
@ -36,6 +44,7 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
sealOff
|
||||||
wget
|
wget
|
||||||
vim
|
vim
|
||||||
gitAndTools.gitFull
|
gitAndTools.gitFull
|
||||||
|
|
Loading…
Reference in New Issue
This stays in the final environment and pollutes it.