Compare commits

...

4 commits

Author SHA1 Message Date
Schrottkatze
ecb6959892
polkit fix (letting sand think was a mistake) 2025-09-22 17:05:37 +02:00
Schrottkatze
d9a3511846
disable rfp for some sites 2025-09-17 05:21:44 +02:00
Schrottkatze
d7b460f9ed
add steam to social workspace 2025-09-17 05:21:34 +02:00
Schrottkatze
1575ef5639
unfuck locales 2025-09-17 05:21:20 +02:00
5 changed files with 49 additions and 4 deletions

View file

@ -8,9 +8,9 @@
./locale.nix ./locale.nix
./printing.nix ./printing.nix
./themeing.nix ./themeing.nix
./polkit-fix.nix
]; ];
services.flatpak.enable = true; services.flatpak.enable = true;
security.polkit.enable = true;
services.illum.enable = true; services.illum.enable = true;
services.upower.enable = true; services.upower.enable = true;

View file

@ -345,6 +345,21 @@
"browser.download.always_ask_before_handling_new_types" = true; "browser.download.always_ask_before_handling_new_types" = true;
"privacy.resistFingerprinting" = true; "privacy.resistFingerprinting" = true;
"privacy.resistFingerprinting.pbmode" = true; "privacy.resistFingerprinting.pbmode" = true;
"privacy.resistFingerprinting.exemptedDomains" =
let
domains = [
"bahn.expert"
"traewelling.de"
"katzen.cafe"
"catgirl.cloud"
"nekover.se"
"zug.network"
"girlcock.club"
"hamburg.ccc.de"
"codeberg.org"
];
in
domains ++ (map (domain: "*." + domain) domains);
"privacy.window.maxInnerWidth" = 1600; "privacy.window.maxInnerWidth" = 1600;
"privacy.window.maxInnerHeight" = 900; "privacy.window.maxInnerHeight" = 900;
"privacy.resistFingerprinting.block_mozAddonManager" = true; "privacy.resistFingerprinting.block_mozAddonManager" = true;

View file

@ -26,7 +26,7 @@
window-rules = [ window-rules = [
{ {
matches = [ matches = [
{ app-id = "^signal|Element|org\.gnome\.Evolution$|discord"; } { app-id = "^(signal|Element|org\.gnome\.Evolution|discord|steam)$"; }
]; ];
open-on-workspace = social; open-on-workspace = social;
} }

View file

@ -2,14 +2,22 @@
{ {
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
i18n.extraLocaleSettings = { i18n.extraLocaleSettings = {
LC_LANG = "en_US.UTF-8";
# LC_LANGUAGE = "en_DE:en_US:en_GB:de_DE";
# ISO 8601 (hopefully)
LC_TIME = "en_DK.UTF-8";
# why is this even a thing
LC_COLLATE = "C.UTF-8";
LC_ADDRESS = "de_DE.UTF-8"; LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8"; LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8"; LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8"; LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8"; LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8"; LC_NUMERIC = "C.UTF-8";
LC_PAPER = "de_DE.UTF-8"; LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8"; LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
}; };
} }

View file

@ -0,0 +1,22 @@
{ pkgs, ... }:
{
# idk why but without this, polkit does't work
# letting sand think was a fucking mistake
security.polkit.enable = true;
systemd.user.services.niri-flake-polkit.enable = false;
# stolen from https://nixos.wiki/wiki/Polkit on 2025-09-22T17
systemd.user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1";
wantedBy = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
}