sync config

This commit is contained in:
Christoph Cullmann 2023-10-23 19:55:37 +02:00
parent cf61c7cfbe
commit ab4a2aa238

View file

@ -156,7 +156,6 @@ in
services.pipewire = { services.pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true; jack.enable = true;
pulse.enable = true; pulse.enable = true;
}; };
@ -350,7 +349,6 @@ in
# OpenGL # OpenGL
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.opengl.driSupport = true; hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
# virus scanner, we only want the updater running # virus scanner, we only want the updater running
services.clamav.updater.enable = true; services.clamav.updater.enable = true;
@ -373,11 +371,11 @@ in
default = { default = {
auth = true; auth = true;
tls = true; tls = true;
from = "noreply@home.local"; from = "christoph@cullmann.io";
host = "babylon2k.com"; host = "moon.babylon2k.com";
port = "587"; port = "587";
user = builtins.readFile "/data/nixos/mailuser.secret"; user = builtins.readFile "/data/nixos/mailuser.secret";
password = builtins.readFile "/data/nixos/mailpassword.secret"; passwordeval = "cat /data/nixos/mailpassword.secret";
}; };
}; };
defaults = { defaults = {
@ -436,9 +434,8 @@ in
}; };
}; };
# enable VirtualBox for the main user # enable VirtualBox
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "cullmann" ];
# configure sudo # configure sudo
security.sudo.execWheelOnly = true; security.sudo.execWheelOnly = true;
@ -465,7 +462,7 @@ in
openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/home/cullmann/.ssh/authorized_keys"); openssh.authorizedKeys.keys = pkgs.lib.splitString "\n" (builtins.readFile "/home/cullmann/.ssh/authorized_keys");
}; };
home-manager.users.root = { pkgs, ... }: { home-manager.users.root = {
# initial version # initial version
home.stateVersion = "22.11"; home.stateVersion = "22.11";
@ -487,14 +484,14 @@ in
# it's me :P # it's me :P
description = "Christoph Cullmann"; description = "Christoph Cullmann";
# allow sudo for my main user # allow VirtualBox and sudo for my main user
extraGroups = [ "wheel" ]; extraGroups = [ "vboxusers" "wheel" ];
# init password # init password
hashedPassword = builtins.readFile "/data/nixos/password.secret"; hashedPassword = builtins.readFile "/data/nixos/password.secret";
}; };
home-manager.users.cullmann = { pkgs, ... }: { home-manager.users.cullmann = {
# initial version # initial version
home.stateVersion = "22.11"; home.stateVersion = "22.11";