From ab4a2aa2385be9a6cfb55d724c860fdb53b1fd09 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 23 Oct 2023 19:55:37 +0200 Subject: [PATCH] sync config --- common.nix | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/common.nix b/common.nix index a11b58a..176ec2a 100644 --- a/common.nix +++ b/common.nix @@ -156,7 +156,6 @@ in services.pipewire = { enable = true; alsa.enable = true; - alsa.support32Bit = true; jack.enable = true; pulse.enable = true; }; @@ -350,7 +349,6 @@ in # OpenGL hardware.opengl.enable = true; hardware.opengl.driSupport = true; - hardware.opengl.driSupport32Bit = true; # virus scanner, we only want the updater running services.clamav.updater.enable = true; @@ -373,11 +371,11 @@ in default = { auth = true; tls = true; - from = "noreply@home.local"; - host = "babylon2k.com"; + from = "christoph@cullmann.io"; + host = "moon.babylon2k.com"; port = "587"; user = builtins.readFile "/data/nixos/mailuser.secret"; - password = builtins.readFile "/data/nixos/mailpassword.secret"; + passwordeval = "cat /data/nixos/mailpassword.secret"; }; }; defaults = { @@ -436,9 +434,8 @@ in }; }; - # enable VirtualBox for the main user + # enable VirtualBox virtualisation.virtualbox.host.enable = true; - users.extraGroups.vboxusers.members = [ "cullmann" ]; # configure sudo security.sudo.execWheelOnly = true; @@ -465,7 +462,7 @@ in 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 home.stateVersion = "22.11"; @@ -487,14 +484,14 @@ in # it's me :P description = "Christoph Cullmann"; - # allow sudo for my main user - extraGroups = [ "wheel" ]; + # allow VirtualBox and sudo for my main user + extraGroups = [ "vboxusers" "wheel" ]; # init password hashedPassword = builtins.readFile "/data/nixos/password.secret"; }; - home-manager.users.cullmann = { pkgs, ... }: { + home-manager.users.cullmann = { # initial version home.stateVersion = "22.11";