diff --git a/hosts/monolith.nix b/hosts/monolith.nix index b217f73..213765b 100644 --- a/hosts/monolith.nix +++ b/hosts/monolith.nix @@ -166,13 +166,10 @@ in hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; networking.hostName = "monolith"; # Define your hostname. + # Fix broken suspend with Logitech USB dongle + # `lsusb | grep Logitech` will return "vendor:product" services.udev.extraRules = '' - # Fix broken suspend with Logitech USB dongle - # `lsusb | grep Logitech` will return "vendor:product" ACTION=="add" SUBSYSTEM=="usb" ATTR{idVendor}=="046d" ATTR{idProduct}=="c547" ATTR{power/wakeup}="disabled" - # Force all disks to use mq-deadline scheduler - # For some reason "noop" is used by default which is kinda bad when io is saturated - ACTION=="add|change", KERNEL=="sd[a-z]*[0-9]*|mmcblk[0-9]*p[0-9]*|nvme[0-9]*n[0-9]*p[0-9]*", ATTR{../queue/scheduler}="mq-deadline" ''; # swap diff --git a/hosts/phantom/email.nix b/hosts/phantom/email.nix index c218977..6d85d95 100644 --- a/hosts/phantom/email.nix +++ b/hosts/phantom/email.nix @@ -26,11 +26,7 @@ loginAccounts = { "lelgenio@lelgenio.com" = { hashedPassword = "$2y$05$z5s7QCXcs5uTFsfyYpwNJeWzb3RmzgWxNgcPCr0zjSytkLFF/qZmS"; - aliases = [ - "postmaster@lelgenio.com" - "lelgenio@lelgenio.xyz" - "lelgenio@lelgenio.xyz" - ]; + aliases = [ "postmaster@lelgenio.com" "lelgenio@lelgenio.xyz" "lelgenio@lelgenio.xyz" ]; }; "noreply@git.lelgenio.com" = { hashedPassword = "$2b$05$TmR1R7ZwXfec7yrOfeBL7u3ZtyXf0up5dEO6uMWSvb/O7LPEm.j0."; diff --git a/system/gnome.nix b/system/gnome.nix index 175909e..72b98c5 100644 --- a/system/gnome.nix +++ b/system/gnome.nix @@ -9,10 +9,6 @@ services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true; - # Workaround for https://github.com/NixOS/nixpkgs/issues/103746 - systemd.services."getty@tty1".enable = false; - systemd.services."autovt@tty1".enable = false; - services.displayManager.autoLogin = { enable = true; user = "lelgenio"; diff --git a/system/nix.nix b/system/nix.nix index ac8a8be..18ac258 100644 --- a/system/nix.nix +++ b/system/nix.nix @@ -22,6 +22,7 @@ in }; optimise.automatic = true; settings = { + auto-optimise-store = true; trusted-users = [ "root" "@wheel"