Compare commits

..

No commits in common. "ecb6959892412cd52caf06fdf5a48f0fee5f5542" and "ae099b954552646fa3a6a07158f3f96af1462788" have entirely different histories.

5 changed files with 4 additions and 49 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,21 +345,6 @@
"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|steam)$"; } { app-id = "^signal|Element|org\.gnome\.Evolution$|discord"; }
]; ];
open-on-workspace = social; open-on-workspace = social;
} }

View file

@ -2,22 +2,14 @@
{ {
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 = "C.UTF-8"; LC_NUMERIC = "de_DE.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

@ -1,22 +0,0 @@
{ 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;
};
};
}