diff options
author | Emma (Rory&) <root@rory.gay> | 2023-10-20 12:17:44 +0000 |
---|---|---|
committer | Emma (Rory&) <root@rory.gay> | 2023-10-20 12:17:44 +0000 |
commit | 77808fba90d751ae3e83d2f265c95507f5a32251 (patch) | |
tree | 95c6f4ebfe7ee0f688e135e5bf37efea1b387ef6 /modules/software-templates | |
parent | Changes (diff) | |
download | Rory-Open-Architecture-77808fba90d751ae3e83d2f265c95507f5a32251.tar.xz |
Add firefox policy
Diffstat (limited to 'modules/software-templates')
-rw-r--r-- | modules/software-templates/dotnet.client.nix | 10 | ||||
-rw-r--r-- | modules/software-templates/dotnet.nix | 7 | ||||
-rw-r--r-- | modules/software-templates/firefox-policy.nix | 78 |
3 files changed, 95 insertions, 0 deletions
diff --git a/modules/software-templates/dotnet.client.nix b/modules/software-templates/dotnet.client.nix new file mode 100644 index 0000000..1092cee --- /dev/null +++ b/modules/software-templates/dotnet.client.nix @@ -0,0 +1,10 @@ +{ config, pkgs, lib, ... }: + +{ + imports = [ + ./dotnet.nix + ]; + environment.systemPackages = with pkgs; [ + jetbrains.rider + ]; +} \ No newline at end of file diff --git a/modules/software-templates/dotnet.nix b/modules/software-templates/dotnet.nix new file mode 100644 index 0000000..3f52ce7 --- /dev/null +++ b/modules/software-templates/dotnet.nix @@ -0,0 +1,7 @@ +{ config, pkgs, lib, ... }: + +{ + environment.systemPackages = with pkgs; [ + (callPackage ../packages/dotnet-pack.nix { inherit pkgs; }) + ]; +} \ No newline at end of file diff --git a/modules/software-templates/firefox-policy.nix b/modules/software-templates/firefox-policy.nix new file mode 100644 index 0000000..9e07193 --- /dev/null +++ b/modules/software-templates/firefox-policy.nix @@ -0,0 +1,78 @@ +{ + AppAutoUpdate = false; + BackgroundAppUpdate = false; + BlockAboutAddons = false; + BlockAboutConfig = false; + BlockAboutProfiles = false; + BlockAboutSupport = false; + CaptivePortal = false; + Cookies = { + Block = import ../../data/domain_lists/airelle.nix; + AcceptThirdParty = false; + RejectTracker = true; + Behavior = "reject-tracker"; + }; + DisableBuiltInPDFViewer = false; + DisableFirefoxAccounts = true; + DisableFeedbackCommands = true; + DisableFirefoxStudies = true; + DisableFirefoxScreenshots = true; + DisablePocket = true; + DisableSystemAddonUpdate = true; + DisableTelemetry = true; + DisplayBookmarksToolbar = "always"; + DisplayMenuBar = "always"; + DNSOverHTTPS = { + Enabled = false; + }; + DontCheckDefaultBrowser = true; + EnableTrackingProtection = { + Value = true; + Cryptomining = true; + Fingerprinting = true; + EmailTracking = true; + }; + EncryptedMediaExtensions = { + Enabled = false; + }; + Extensions = { + Install = [ + "https://github.com/gorhill/uBlock/releases/download/1.52.2/uBlock0_1.52.2.firefox.signed.xpi" + ]; + }; + ExtensionUpdate = false; + FirefoxHome = { + Snippets = false; + TopSites = false; + Highlights = false; + Pocket = false; + SponsoredTopSites = false; + SponsoredPocket = false; + }; + FirefoxSuggest = { + ImproveSuggest = false; + SponsoredSuggestions = false; + WebSuggestions = false; + }; + GoToIntranetSiteForSingleWordEntryInAddressBar = true; + LocalFileLinks = [ + "file://" + "https://*.rory.gay" + "http://*.localhost" + "http://localhost" + ]; + PictureInPicture = false; + SearchSuggestEnabled = false; + UserMessaging = { + WhatsNew = false; + ExtensionRecommendations = false; + UrlbarInterventions = false; + SkipOnboarding = true; + MoreFromMozilla = false; + Locked = true; + }; + WebsiteFilter = { + Block = import ../../data/domain_lists/airelle.nix; + }; + WindowsSSO = true; +} \ No newline at end of file |