mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2025-09-24 15:31:31 +02:00
Compare commits
4 commits
ae099b9545
...
ecb6959892
Author | SHA1 | Date | |
---|---|---|---|
![]() |
ecb6959892 |
||
![]() |
d9a3511846 |
||
![]() |
d7b460f9ed |
||
![]() |
1575ef5639 |
5 changed files with 49 additions and 4 deletions
|
@ -8,9 +8,9 @@
|
|||
./locale.nix
|
||||
./printing.nix
|
||||
./themeing.nix
|
||||
./polkit-fix.nix
|
||||
];
|
||||
services.flatpak.enable = true;
|
||||
security.polkit.enable = true;
|
||||
services.illum.enable = true;
|
||||
services.upower.enable = true;
|
||||
|
||||
|
|
|
@ -345,6 +345,21 @@
|
|||
"browser.download.always_ask_before_handling_new_types" = true;
|
||||
"privacy.resistFingerprinting" = 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.maxInnerHeight" = 900;
|
||||
"privacy.resistFingerprinting.block_mozAddonManager" = true;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
window-rules = [
|
||||
{
|
||||
matches = [
|
||||
{ app-id = "^signal|Element|org\.gnome\.Evolution$|discord"; }
|
||||
{ app-id = "^(signal|Element|org\.gnome\.Evolution|discord|steam)$"; }
|
||||
];
|
||||
open-on-workspace = social;
|
||||
}
|
||||
|
|
|
@ -2,14 +2,22 @@
|
|||
{
|
||||
time.timeZone = "Europe/Berlin";
|
||||
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_IDENTIFICATION = "de_DE.UTF-8";
|
||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||
LC_MONETARY = "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_TELEPHONE = "de_DE.UTF-8";
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
}
|
||||
|
|
22
modules/desktop/polkit-fix.nix
Normal file
22
modules/desktop/polkit-fix.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue