about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/common/locale.nix4
-rw-r--r--modules/git/default.nix12
-rw-r--r--modules/kde.nix19
-rw-r--r--modules/nmap.nix2
-rw-r--r--modules/profiles/default.nix1
-rw-r--r--modules/profiles/headful.nix6
6 files changed, 28 insertions, 16 deletions
diff --git a/modules/common/locale.nix b/modules/common/locale.nix
index 7e8eefb..870ce1b 100644
--- a/modules/common/locale.nix
+++ b/modules/common/locale.nix
@@ -9,6 +9,10 @@ with lib;
   hm.home.language = {
     collate = "C";
     messages = "C";
+    monetary = "ru_RU.UTF-8";
+    numeric = "ru_RU.UTF-8";
+    paper = "ru_RU.UTF-8";
+    telephone = "ru_RU.UTF-8";
   };
 
   i18n = {
diff --git a/modules/git/default.nix b/modules/git/default.nix
index a65c31e..ad322ca 100644
--- a/modules/git/default.nix
+++ b/modules/git/default.nix
@@ -40,11 +40,13 @@ in
           path = "${config.dirs.config}/glab-cli/config.yml";
           owner = my.username;
         };
-        gh-hosts = {
-          file = "${inputs.self}/secrets/gh-hosts";
-          path = "${config.dirs.config}/gh/hosts.yml";
-          owner = my.username;
-        };
+        # NOTE SSO requires relogin every day, so keeping persistent auth tokens
+        # doesn't work.
+        # gh-hosts = {
+        #   file = "${inputs.self}/secrets/gh-hosts";
+        #   path = "${config.dirs.config}/gh/hosts.yml";
+        #   owner = my.username;
+        # };
         hut = {
           file = "${inputs.self}/secrets/hut";
           path = "${config.dirs.config}/hut/config";
diff --git a/modules/kde.nix b/modules/kde.nix
index 4f44a5e..e017e11 100644
--- a/modules/kde.nix
+++ b/modules/kde.nix
@@ -52,16 +52,19 @@ in
       desktopManager.plasma6.enable = true;
       displayManager.sddm = {
         enable = true;
-        wayland.enable = true; # Kinda broken.
+        wayland.enable = true;
       };
     };
 
-    environment.plasma6.excludePackages = with pkgs.kdePackages; [
-      elisa
-      gwenview
-      kate
-      khelpcenter
-      print-manager
-    ];
+    environment = {
+      plasma6.excludePackages = with pkgs.kdePackages; [
+        elisa
+        gwenview
+        kate
+        khelpcenter
+        print-manager
+      ];
+      systemPackages = with pkgs.kdePackages; [ plasma-disks ];
+    };
   };
 }
diff --git a/modules/nmap.nix b/modules/nmap.nix
index 71b3d0b..c358e71 100644
--- a/modules/nmap.nix
+++ b/modules/nmap.nix
@@ -65,8 +65,6 @@ in
         };
 
         timers.update-nmap-vulscan-lists = {
-          # TODO Figure out how to check for network-online.target for user
-          # timers.
           Timer = {
             OnCalendar = "daily";
             Persistent = true;
diff --git a/modules/profiles/default.nix b/modules/profiles/default.nix
index 6967cb7..9e99938 100644
--- a/modules/profiles/default.nix
+++ b/modules/profiles/default.nix
@@ -56,6 +56,7 @@ in
       lsof
       pciutils
       psmisc
+      smartmontools
       sysstat
       tree
       util-linux
diff --git a/modules/profiles/headful.nix b/modules/profiles/headful.nix
index 83b3e4a..e2925c8 100644
--- a/modules/profiles/headful.nix
+++ b/modules/profiles/headful.nix
@@ -51,7 +51,10 @@ in
         '';
 
         packages = with pkgs; [
-          calibre
+          (vesktop.override {
+            withSystemVencord = true;
+            withTTS = false;
+          })
           element-desktop
           fd
           imv
@@ -109,6 +112,7 @@ in
     };
 
     services = {
+      fwupd.enable = true;
       libinput.enable = true;
       psd.enable = true;
       upower.enable = true;

Consider giving Nix/NixOS a try! <3