libkookie: add podman, and install additional modules to tempest set

wip/yesman
Katharina Fey 3 years ago
parent 29419948d7
commit 02817098e0
  1. 33
      infra/libkookie/configuration/workstation/devel/default.nix
  2. 25
      infra/libkookie/roots/tempest.nix

@ -19,7 +19,40 @@ in
# Direnv is used to trigger lorri env
direnv
# Configure userspace container runner
podman
];
xdg.configFile."podman/containers/libpod.conf" = {
text = ''
runtime_path = ["${pkgs.runc}/bin/runc"]
conmon_path = ["${pkgs.conmon}/bin/conmon"]
'';
};
xdg.configFile."podman/containers/policy.json" = {
text = builtins.toJSON {
default = [ { type = "insecureAcceptAnything"; } ];
};
};
xdg.configFile."podman/containers/registries.conf" = {
text = ''
[registries.search]
registries = ['docker.io']
'';
};
xdg.configFile."podman/containers/storage.conf" = {
text = ''
[storage]
driver = "zfs"
runroot = "/tmp/1000"
graphroot = "/home/.local/podman
'';
};
# Enable lorri service to build project environments
services.lorri.enable = true;
}

@ -44,6 +44,11 @@ in
# Development tools
(loadModule <configuration/workstation/devel> "default")
# Various other graphical tools
(loadModule <configuration/workstation/pass> "default")
(loadModule <configuration/workstation/chat> "default")
(loadModule <configuration/workstation/creative> "default")
];
# Configure i3 with the amdgpu driver
@ -62,6 +67,14 @@ in
#
#
###################################################################
###################################################################
# NixOS base system options
#
#
#
# Use the GRUB 2 boot loader.
boot.loader.grub = {
@ -109,8 +122,8 @@ in
# networking.firewall.allowedTCPPorts = [ 9000 ]; ?????
networking.useDHCP = false;
networking.interfaces.enp8s0.useDHCP = true;
#networking.interfaces.eth0.useDHCP = true;
#networking.interfaces.enp8s0.useDHCP = true;
networking.interfaces.eth0.useDHCP = true;
# Select internationalisation properties.
i18n.defaultLocale = "en_GB.UTF-8";
@ -122,6 +135,14 @@ in
programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
services.openssh.enable = true;
#
#
#
#
###################################################################
# This setting is not really relevant on this desktop machine, so
# just update it when new stable NixOS releases are branched off
system.stateVersion = "20.09";
# Set a static password for this user

Loading…
Cancel
Save