From 4ea68b87c2747031b42bc3d3d286e4408680e978 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 30 May 2024 11:43:17 +0300 Subject: 2024-05-30 --- modules/common/locale.nix | 4 ++++ modules/git/default.nix | 12 +++++++----- modules/kde.nix | 19 +++++++++++-------- modules/nmap.nix | 2 -- modules/profiles/default.nix | 1 + modules/profiles/headful.nix | 6 +++++- 6 files changed, 28 insertions(+), 16 deletions(-) (limited to 'modules') 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; -- cgit 1.4.1