about summary refs log tree commit diff
path: root/modules/nixos
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-02-29 12:54:39 +0300
committerAzat Bahawi <azat@bahawi.net>2024-02-29 12:54:39 +0300
commit37420f58905057b2ca31b208e9c6c4d6e773a99d (patch)
tree3dd8335a207736f1cbcd23ad92a9ab45ae7c16ca /modules/nixos
parent2024-02-21 (diff)
2024-02-29
Diffstat (limited to 'modules/nixos')
-rw-r--r--modules/nixos/docker.nix2
-rw-r--r--modules/nixos/firefox/default.nix12
-rw-r--r--modules/nixos/kde.nix6
-rw-r--r--modules/nixos/podman.nix2
4 files changed, 13 insertions, 9 deletions
diff --git a/modules/nixos/docker.nix b/modules/nixos/docker.nix
index 3b38ff1..0795386 100644
--- a/modules/nixos/docker.nix
+++ b/modules/nixos/docker.nix
@@ -13,7 +13,7 @@ in {
   config = mkIf cfg.enable {
     assertions = [
       {
-        assertion = !config.nixfiles.modules.podman.enable;
+        assertion = cfg.enable -> !config.nixfiles.modules.podman.enable;
         message = "Pick only one!";
       }
     ];
diff --git a/modules/nixos/firefox/default.nix b/modules/nixos/firefox/default.nix
index 19bad24..ce8b3ee 100644
--- a/modules/nixos/firefox/default.nix
+++ b/modules/nixos/firefox/default.nix
@@ -536,13 +536,17 @@ in {
             };
             "5000" = {
               enable = true;
-              "5003".enable = true;
-              "5017".enable = true;
-              "5019".enable = true;
+              "5003"."signon.rememberSignons".enable = true;
+              "5017" = {
+                "extensions.formautofill.addresses.enabled".enable = true;
+                "extensions.formautofill.creditCards.enabled".enable = true;
+              };
+              "5019"."browser.pagethumbnails.capturing_disabled".enable = true;
             };
             "5500" = {
               enable = true;
-              "5508".enable = true;
+              "5508"."media.eme.enabled".enable = true;
+              "5508"."browser.eme.ui.enabled".enable = true;
             };
             "6000".enable = true;
             "7000".enable = true;
diff --git a/modules/nixos/kde.nix b/modules/nixos/kde.nix
index adec490..58990f1 100644
--- a/modules/nixos/kde.nix
+++ b/modules/nixos/kde.nix
@@ -27,17 +27,17 @@ in {
     };
 
     services.xserver = {
-      desktopManager.plasma5.enable = true;
+      desktopManager.plasma6.enable = true;
       displayManager.sddm.enable = true;
     };
 
     environment = {
       systemPackages = with pkgs; [pinentry-qt];
-      plasma5.excludePackages = with pkgs.plasma5Packages; [
+      plasma6.excludePackages = with pkgs.kdePackages; [
         elisa
         gwenview
+        kate
         khelpcenter
-        okular
         print-manager
       ];
     };
diff --git a/modules/nixos/podman.nix b/modules/nixos/podman.nix
index 60f208e..5e369a6 100644
--- a/modules/nixos/podman.nix
+++ b/modules/nixos/podman.nix
@@ -13,7 +13,7 @@ in {
   config = mkIf cfg.enable {
     assertions = [
       {
-        assertion = !config.nixfiles.modules.docker.enable;
+        assertion = cfg.enable -> !config.nixfiles.modules.docker.enable;
         message = "Pick only one!";
       }
     ];

Consider giving Nix/NixOS a try! <3