fix: lap config

This commit is contained in:
danny 2025-08-20 19:24:05 +08:00
parent 146418764e
commit ca73fac1f6
4 changed files with 5 additions and 6 deletions

View file

@ -11,7 +11,7 @@ let
in in
{ {
programs.wlogout = { programs.wlogout = {
enable = true; enable = false;
layout = [ layout = [
{ {
label = "lock"; label = "lock";

View file

@ -18,7 +18,7 @@ in
../../modules/virtualization.nix ../../modules/virtualization.nix
../../modules/wine.nix ../../modules/wine.nix
../../modules/wireguard.nix ../../modules/wireguard.nix
../../modules/airplay.nix (import ../../modules/airplay.nix { })
# ../../modules/battery-life.nix # ../../modules/battery-life.nix
]; ];
@ -36,7 +36,7 @@ in
{ {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
settings = { settings = {
monitors = [ monitor = [
''desc:LG Display 0x0665, preferred, 0x0, 1.25'' ''desc:LG Display 0x0665, preferred, 0x0, 1.25''
]; ];
}; };

View file

@ -26,7 +26,7 @@
settings = { settings = {
PasswordAuthentication = lib.mkDefault false; PasswordAuthentication = lib.mkDefault false;
AllowUsers = lib.mkDefault [ username ]; AllowUsers = lib.mkDefault [ username ];
UseDns = lib.mkDefault true; UseDns = lib.mkDefault false;
PermitRootLogin = lib.mkDefault "no"; PermitRootLogin = lib.mkDefault "no";
}; };
}; };

View file

@ -1,10 +1,9 @@
{ username }:
{ {
pkgs, pkgs,
config, config,
username,
... ...
}: }:
{ {
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
users.groups.libvirtd.members = [ username ]; users.groups.libvirtd.members = [ username ];