summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/software-templates/dotnet.client.nix10
-rw-r--r--modules/software-templates/dotnet.nix7
-rw-r--r--modules/software-templates/firefox-policy.nix78
-rwxr-xr-xmodules/users/Rory.nix1
4 files changed, 96 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
diff --git a/modules/users/Rory.nix b/modules/users/Rory.nix
index f07223e..c922b5d 100755
--- a/modules/users/Rory.nix
+++ b/modules/users/Rory.nix
@@ -82,6 +82,7 @@
           alias ls='lsd -lA --color=always --icon=always'
           alias transfetch='neofetch --kitty ~/trans_witch.jpg'
           alias gc='git-commit'
+          [ -f "$HOME/.profile" ] && . $HOME/.profile
           '';
           #alias knconfig='cp .config ../$(date ''+%Y%m%d_%k%M%S\'').config -v; make CC=clang LLVM=1 nconfig'
         oh-my-zsh = {