mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-28 09:28:30 +02:00
updates and fixes
This commit is contained in:
parent
efe00fc184
commit
f7e581f792
15 changed files with 75 additions and 60 deletions
|
@ -1,6 +1,5 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
|
||||
# fixes qt and themes
|
||||
environment.variables = {
|
||||
"QT_STYLE_OVERRIDE" = lib.mkForce "kvantum";
|
||||
|
@ -9,10 +8,10 @@
|
|||
"GTK_THEME" = "Dracula";
|
||||
};
|
||||
# open ports for kde connect
|
||||
networking.firewall = rec {
|
||||
allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||
};
|
||||
# networking.firewall = rec {
|
||||
# allowedTCPPortRanges = [{ from = 1714; to = 1764; }];
|
||||
# allowedUDPPortRanges = allowedTCPPortRanges;
|
||||
# };
|
||||
# enable xdg portals for sway
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
@ -37,24 +36,7 @@
|
|||
# home manager needs dconf
|
||||
programs.dconf.enable = true;
|
||||
# fixes pam entries for swaylock
|
||||
# auth sufficient ${pkgs.fprintd}/lib/security/pam_fprintd.so
|
||||
security.pam.services.swaylock.text = ''
|
||||
# Account management.
|
||||
account required pam_unix.so
|
||||
|
||||
# Authentication management.
|
||||
|
||||
auth sufficient pam_unix.so nullok likeauth try_first_pass
|
||||
auth sufficient ${pkgs.pam_u2f}/lib/security/pam_u2f.so
|
||||
auth required pam_deny.so
|
||||
|
||||
# Password management.
|
||||
password sufficient pam_unix.so nullok sha512
|
||||
|
||||
# Session management.
|
||||
session required pam_env.so conffile=/etc/pam/environment readenv=0
|
||||
session required pam_unix.so
|
||||
'';
|
||||
security.pam.services.swaylock = { };
|
||||
# global wrapper for ausweisapp
|
||||
programs.ausweisapp = {
|
||||
enable = true;
|
||||
|
@ -64,5 +46,5 @@
|
|||
programs.steam.enable = true;
|
||||
|
||||
# enable java black magic
|
||||
programs.java.enable = true;
|
||||
# programs.java.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue