This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
downloading Nix 2.3.3 binary tarball for x86_64-linux from 'https://nixos.org/releases/nix/nix-2.3.3/nix-2.3.3-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.DNen1PENRW'... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 86 100 86 0 0 858 0 --:--:-- --:--:-- --:--:-- 860 | |
100 16.4M 100 16.4M 0 0 95.5M 0 --:--:-- --:--:-- --:--:-- 95.5M | |
Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation | |
[1;31mSwitching to the Daemon-based Installer[0m | |
[38;32mWelcome to the Multi-User Nix Installation | |
[0m | |
This installation tool will set up your computer with the Nix package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -xeu | |
restart="false"; | |
echo $# | |
if [ "$#" -ge 1 ]; then | |
case "$1" in | |
"r"|"re"|"res"|"rest"|"resta"|"restar"|"restart") | |
sudo systemctl stop container@browser | |
restart="true"; | |
;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab autoindent syntax=nix nocompatible : | |
# Containers | |
{ config, pkgs, ... }: | |
{ containers.browser = | |
let hostAddr = "192.168.100.10"; | |
in | |
{ privateNetwork = true; | |
hostAddress = hostAddr; |
OlderNewer