summary refs log tree commit diff
path: root/modules/software-templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/software-templates')
-rw-r--r--modules/software-templates/dotnet.client.nix19
-rw-r--r--modules/software-templates/dotnet.nix19
-rw-r--r--modules/software-templates/firefox-policy.nix152
-rw-r--r--modules/software-templates/profilers.nix22
4 files changed, 111 insertions, 101 deletions
diff --git a/modules/software-templates/dotnet.client.nix b/modules/software-templates/dotnet.client.nix
index b10be16..ab8d812 100644
--- a/modules/software-templates/dotnet.client.nix
+++ b/modules/software-templates/dotnet.client.nix
@@ -1,11 +1,14 @@
-{ config, pkgs, lib, ... }:
+{
+  config,
+  pkgs,
+  lib,
+  ...
+}:
 
 {
-    imports = [
-        ./dotnet.nix
-    ];
-    environment.systemPackages = with pkgs; [
-            #`jetbrains.rider
-            (jetbrains.plugins.addPlugins jetbrains.rider [ "github-copilot" ])
-    ];
+  imports = [ ./dotnet.nix ];
+  environment.systemPackages = with pkgs; [
+    #`jetbrains.rider
+    (jetbrains.plugins.addPlugins jetbrains.rider [ "github-copilot" ])
+  ];
 }
diff --git a/modules/software-templates/dotnet.nix b/modules/software-templates/dotnet.nix
index ede22a2..be9ab4d 100644
--- a/modules/software-templates/dotnet.nix
+++ b/modules/software-templates/dotnet.nix
@@ -1,11 +1,14 @@
-{ config, pkgs, lib, ... }:
+{
+  config,
+  pkgs,
+  lib,
+  ...
+}:
 
 {
-    environment.systemPackages = with pkgs; [    
-        (callPackage ../packages/dotnet-pack.nix { inherit pkgs; })
-    ];
-    environment.sessionVariables = {
-        DOTNET_CLI_TELEMETRY_OPTOUT = "1";
-        DOTNET_ROOT = "${(pkgs.callPackage ../packages/dotnet-pack.nix { inherit pkgs; })}";
-    };
+  environment.systemPackages = with pkgs; [ (callPackage ../packages/dotnet-pack.nix { inherit pkgs; }) ];
+  environment.sessionVariables = {
+    DOTNET_CLI_TELEMETRY_OPTOUT = "1";
+    DOTNET_ROOT = "${(pkgs.callPackage ../packages/dotnet-pack.nix { inherit pkgs; })}";
+  };
 }
diff --git a/modules/software-templates/firefox-policy.nix b/modules/software-templates/firefox-policy.nix
index 9e07193..83d0a47 100644
--- a/modules/software-templates/firefox-policy.nix
+++ b/modules/software-templates/firefox-policy.nix
@@ -1,78 +1,76 @@
 {
-    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
+  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;
+}
diff --git a/modules/software-templates/profilers.nix b/modules/software-templates/profilers.nix
index ce55c4e..99090da 100644
--- a/modules/software-templates/profilers.nix
+++ b/modules/software-templates/profilers.nix
@@ -1,10 +1,16 @@
-{ config, lib, pkgs, home-manager, ... }:
+{
+  config,
+  lib,
+  pkgs,
+  home-manager,
+  ...
+}:
 
 {
-    environment.systemPackages = with pkgs; [
-        kcachegrind
-        linuxKernel.packages.linux_5_15.perf
-        hotspot
-        valgrind
-    ];
-}
\ No newline at end of file
+  environment.systemPackages = with pkgs; [
+    kcachegrind
+    linuxKernel.packages.linux_5_15.perf
+    hotspot
+    valgrind
+  ];
+}