Compare commits

...

13 commits

7 changed files with 82 additions and 27 deletions

24
flake.lock generated
View file

@ -925,11 +925,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1739756353, "lastModified": 1742641703,
"narHash": "sha256-UMRlUlCXyIG9jVgDQtKCyDpgjTIHkadVo0DIOayDH6U=", "narHash": "sha256-hoN8blvJco8OSZmPj8izwQaQUdydVi+5FO4/nWd1MNU=",
"owner": "lilyinstarlight", "owner": "lilyinstarlight",
"repo": "nixos-cosmic", "repo": "nixos-cosmic",
"rev": "0d64f87dff6778231ae0288cca71e78e2ab30752", "rev": "216557e6cd229dbe7d73a497c227824a3c579cd7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -4761,11 +4761,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1739624908, "lastModified": 1742512142,
"narHash": "sha256-f84lBmLl4tkDp1ZU5LBTSFzlxXP4926DVW3KnXrke10=", "narHash": "sha256-8XfURTDxOm6+33swQJu/hx6xw1Tznl8vJJN5HwVqckg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a60651b217d2e529729cbc7d989c19f3941b9250", "rev": "7105ae3957700a9646cc4b766f5815b23ed0c682",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -4873,11 +4873,11 @@
}, },
"nixpkgsUnstable": { "nixpkgsUnstable": {
"locked": { "locked": {
"lastModified": 1739797909, "lastModified": 1743938762,
"narHash": "sha256-Tawcc3tnPRyqq6cgkhrAeL30ujgpfRObfX9Ffo0G4xc=", "narHash": "sha256-UgFYn8sGv9B8PoFpUfCa43CjMZBl1x/ShQhRDHBFQdI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6d0e5aea88d0f8fa0d0e1258c65c4f799c46717e", "rev": "74a40410369a1c35ee09b8a1abee6f4acbedc059",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -5277,11 +5277,11 @@
}, },
"nixpkgs_33": { "nixpkgs_33": {
"locked": { "locked": {
"lastModified": 1740162160, "lastModified": 1743703532,
"narHash": "sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM=", "narHash": "sha256-s1KLDALEeqy+ttrvqV3jx9mBZEvmthQErTVOAzbjHZs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "11415c7ae8539d6292f2928317ee7a8410b28bb9", "rev": "bdb91860de2f719b57eef819b5617762f7120c70",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -7,7 +7,6 @@
imports = [ imports = [
../../hardware/lenovo_yoga7i.nix ../../hardware/lenovo_yoga7i.nix
../../profiles/desktopFiona.nix ../../profiles/desktopFiona.nix
../../profiles/desktop_common.nix
]; ];
# Use the UEFI boot loader. # Use the UEFI boot loader.

View file

@ -21,11 +21,9 @@ in {
chromium chromium
element-desktop # A feature-rich client for Matrix.org element-desktop # A feature-rich client for Matrix.org
evince # document viewer evince # document viewer
firefox # A web browser built from Firefox source tree
gnome-tweaks # A tool to customize advanced GNOME 3 options gnome-tweaks # A tool to customize advanced GNOME 3 options
krita # A free and open source painting application krita # A free and open source painting application
libreoffice-fresh # Comprehensive, professional-quality productivity suite libreoffice-fresh # Comprehensive, professional-quality productivity suite
librewolf # Firefox fork, focused on privacy, security and freedom
mplayer # A movie player that supports many video formats mplayer # A movie player that supports many video formats
nextcloud-client # Nextcloud desktop client nextcloud-client # Nextcloud desktop client
pavucontrol # PulseAudio Volume Control pavucontrol # PulseAudio Volume Control
@ -104,6 +102,56 @@ in {
enable = true; enable = true;
homepageLocation = "https://start.duckduckgo.com/"; homepageLocation = "https://start.duckduckgo.com/";
}; };
firefox = {
enable = true;
package = pkgs.librewolf;
policies = {
DisableTelemetry = true;
DisableFirefoxStudies = true;
Preferences = {
"cookiebanners.service.mode" = 2; # Block cookie banners
"cookiebanners.service.mode.privateBrowsing" = 2; # Block cookie banners in private browsing
"privacy.donottrackheader.enabled" = true;
"privacy.fingerprintingProtection" = true;
"privacy.resistFingerprinting" = true;
"privacy.trackingprotection.emailtracking.enabled" = true;
"privacy.trackingprotection.enabled" = true;
"privacy.trackingprotection.fingerprinting.enabled" = true;
"privacy.trackingprotection.socialtracking.enabled" = true;
"webgl.disabled" = false;
};
ExtensionSettings = {
"CanvasBlocker@kkapsner.de" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/canvasblocker/latest.xpi";
installation_mode = "force_installed";
}; # prevents fingerprinting when webgl is enabled
"CookieAutoDelete@kennydo.com" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/cookie-autodelete/latest.xpi";
installation_mode = "force_installed";
}; # cookie deletion
"floccus@handmadeideas.org" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/floccus/latest.xpi";
installation_mode = "force_installed";
}; # bookmark sync
"jid1-MnnxcxisBPnSXQ@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/privacy-badger17/latest.xpi";
installation_mode = "force_installed";
}; # privacy
"jid1-ZAdIEUB7XOzOJw@jetpack" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/duckduckgo-for-firefox/latest.xpi";
installation_mode = "force_installed";
}; # private search
"uBlock0@raymondhill.net" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
installation_mode = "force_installed";
}; # add blocking
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
installation_mode = "force_installed";
}; # password management
};
};
};
}; };
# Groups to add # Groups to add

View file

@ -35,5 +35,15 @@ in {
vcsh # Version Control System for $HOME vcsh # Version Control System for $HOME
yt-dlp # Command-line tool to download videos yt-dlp # Command-line tool to download videos
]; ];
programs.firefox.policies.ExtensionSettings = {
"{eceab40b-230a-4560-98ed-185ad010633f}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/nixos-packages-search-engine/latest.xpi";
installation_mode = "force_installed";
}; # package search
"{530f7c6c-6077-4703-8f71-cb368c663e35}" = {
install_url = "https://addons.mozilla.org/firefox/downloads/latest/yoroi/latest.xpi";
installation_mode = "force_installed";
}; # package search
};
}; };
} }

View file

@ -70,8 +70,9 @@ in {
]; ];
deployment = { deployment = {
tags = ["active"]; tags = ["active"];
targetHost = "10.42.0.124"; targetHost = "10.69.0.122";
}; };
roles.desktop.enable = true;
}; };
ceilidh = { ceilidh = {
imports = [ imports = [
@ -112,7 +113,7 @@ in {
]; ];
deployment = { deployment = {
tags = ["active" "rPi"]; tags = ["active" "rPi"];
targetHost = "10.42.0.204"; targetHost = "10.69.0.204";
}; };
}; };
eamhair = { eamhair = {
@ -122,7 +123,7 @@ in {
]; ];
deployment = { deployment = {
tags = ["active" "rPi"]; tags = ["active" "rPi"];
targetHost = "10.42.0.205"; targetHost = "10.69.0.205";
}; };
services.toxvpn.localip = "10.37.0.205"; services.toxvpn.localip = "10.37.0.205";
}; };
@ -157,7 +158,10 @@ in {
hosts/sercanto hosts/sercanto
ragenix.nixosModules.default ragenix.nixosModules.default
]; ];
deployment.targetHost = "10.42.0.180"; deployment = {
targetHost = "10.69.0.149";
tags = ["active"];
};
roles.desktop.enable = true; roles.desktop.enable = true;
roles.desktopCraige.enable = true; roles.desktopCraige.enable = true;
}; };

View file

@ -41,7 +41,7 @@
}; };
package = pkgs.nextcloud30; package = pkgs.nextcloud30;
extraApps = with config.services.nextcloud.package.packages.apps; { extraApps = with config.services.nextcloud.package.packages.apps; {
inherit calendar contacts deck gpoddersync news notes tasks twofactor_webauthn; inherit bookmarks calendar contacts deck gpoddersync news notes tasks twofactor_webauthn;
}; };
extraAppsEnable = true; extraAppsEnable = true;
settings = { settings = {

View file

@ -4,12 +4,7 @@
pkgs, pkgs,
lib, lib,
... ...
}: }: {
#let
# sources = import ../nix/sources.nix;
# unstable = import sources.nixpkgsUnstable {};
#in
{
nixpkgs = {config = {allowUnfree = true;};}; nixpkgs = {config = {allowUnfree = true;};};
environment = { environment = {
@ -24,7 +19,6 @@
nox # Tools to make Nix nicer nox # Tools to make Nix nicer
sqlite # To query the nixpkgs sqlite database sqlite # To query the nixpkgs sqlite database
tig # Text-mode interface for git tig # Text-mode interface for git
#unstable.statix # Lints and suggestions for the nix programming language
]; ];
}; };
} }