summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-07-31 14:03:07 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-07-31 14:03:07 +0700
commit4835f660f9435fa64336daaaae1ea3cab1dfbee6 (patch)
tree45524b7f7cdb6009fa85558cea44678b2b563a43 /nixos
parent59226408d8bc950d7ec8c21623f28b5f7de8fce0 (diff)
mouse
Diffstat (limited to 'nixos')
-rw-r--r--nixos/hosts/opus/default.nix2
-rw-r--r--nixos/modules/features/appimage/default.nix2
-rw-r--r--nixos/modules/features/binary-compat/default.nix2
-rw-r--r--nixos/modules/features/desktop-apps/default.nix6
-rw-r--r--nixos/modules/features/dev-tools/default.nix3
-rw-r--r--nixos/modules/features/mouse/default.nix9
-rw-r--r--nixos/modules/features/wireshark/default.nix12
-rw-r--r--nixos/modules/system/locale/default.nix18
-rw-r--r--nixos/modules/system/services/default.nix2
-rw-r--r--nixos/modules/system/users/default.nix2
10 files changed, 42 insertions, 16 deletions
diff --git a/nixos/hosts/opus/default.nix b/nixos/hosts/opus/default.nix
index 4143528..b56e3d0 100644
--- a/nixos/hosts/opus/default.nix
+++ b/nixos/hosts/opus/default.nix
@@ -37,6 +37,8 @@
../../modules/features/fonts
../../modules/features/desktop-apps
../../modules/features/dev-tools
+ ../../modules/features/wireshark
+ ../../modules/features/mouse
];
# ────────────────────────────────────────────────────────────────────────
diff --git a/nixos/modules/features/appimage/default.nix b/nixos/modules/features/appimage/default.nix
index b291735..fba4ed7 100644
--- a/nixos/modules/features/appimage/default.nix
+++ b/nixos/modules/features/appimage/default.nix
@@ -10,4 +10,4 @@
];
};
};
-} \ No newline at end of file
+}
diff --git a/nixos/modules/features/binary-compat/default.nix b/nixos/modules/features/binary-compat/default.nix
index f2ad751..e88349b 100644
--- a/nixos/modules/features/binary-compat/default.nix
+++ b/nixos/modules/features/binary-compat/default.nix
@@ -20,4 +20,4 @@
pkg-config
cmake
];
-} \ No newline at end of file
+}
diff --git a/nixos/modules/features/desktop-apps/default.nix b/nixos/modules/features/desktop-apps/default.nix
index 59dda45..51b8bdd 100644
--- a/nixos/modules/features/desktop-apps/default.nix
+++ b/nixos/modules/features/desktop-apps/default.nix
@@ -5,14 +5,18 @@
inputs.helium-browser.packages.${pkgs.stdenv.hostPlatform.system}.helium
secretspec
claude-code
+ cryptomator
+ ente-desktop
keepassxc
libreoffice
hunspellDicts.ru_RU
opencode
pkgs.ayugram-desktop
pkgs.legcord
+ pkgs.vesktop
pkgs.amnezia-vpn
obsidian
pkgs.qbittorrent
+ pkgs.masterpdfeditor
];
-} \ No newline at end of file
+}
diff --git a/nixos/modules/features/dev-tools/default.nix b/nixos/modules/features/dev-tools/default.nix
index 2215b49..fa19d8a 100644
--- a/nixos/modules/features/dev-tools/default.nix
+++ b/nixos/modules/features/dev-tools/default.nix
@@ -15,6 +15,5 @@
rust-analyzer
rustc
tree-sitter
- pkgs.wireshark
];
-} \ No newline at end of file
+}
diff --git a/nixos/modules/features/mouse/default.nix b/nixos/modules/features/mouse/default.nix
new file mode 100644
index 0000000..83cefc4
--- /dev/null
+++ b/nixos/modules/features/mouse/default.nix
@@ -0,0 +1,9 @@
+{ config, pkgs, ... }:
+
+{
+ services.ratbagd.enable = true;
+ environment.systemPackages = with pkgs; [
+ piper
+ input-remapper
+];
+}
diff --git a/nixos/modules/features/wireshark/default.nix b/nixos/modules/features/wireshark/default.nix
new file mode 100644
index 0000000..7b2141e
--- /dev/null
+++ b/nixos/modules/features/wireshark/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, ... }:
+
+{
+ programs.wireshark = {
+ enable = true;
+ package = pkgs.wireshark;
+ };
+
+ users.users.seraphim = {
+ extraGroups = [ "wireshark" ];
+ };
+}
diff --git a/nixos/modules/system/locale/default.nix b/nixos/modules/system/locale/default.nix
index da66f76..4c07d59 100644
--- a/nixos/modules/system/locale/default.nix
+++ b/nixos/modules/system/locale/default.nix
@@ -3,16 +3,16 @@
{
time.timeZone = "Etc/GMT-7";
- i18n.defaultLocale = "en_US.UTF-8";
+ i18n.defaultLocale = "de_CH.UTF-8";
i18n.extraLocaleSettings = {
- LC_ADDRESS = "en_US.UTF-8";
- LC_IDENTIFICATION = "en_US.UTF-8";
- LC_MEASUREMENT = "en_US.UTF-8";
- LC_MONETARY = "en_US.UTF-8";
- LC_NAME = "en_US.UTF-8";
- LC_NUMERIC = "en_US.UTF-8";
- LC_PAPER = "en_US.UTF-8";
- LC_TELEPHONE = "en_US.UTF-8";
+ LC_ADDRESS = "de_CH.UTF-8";
+ LC_IDENTIFICATION = "de_CH.UTF-8";
+ LC_MEASUREMENT = "de_CH.UTF-8";
+ LC_MONETARY = "de_CH.UTF-8";
+ LC_NAME = "de_CH.UTF-8";
+ LC_NUMERIC = "de_CH.UTF-8";
+ LC_PAPER = "de_CH.UTF-8";
+ LC_TELEPHONE = "de_CH.UTF-8";
LC_TIME = "en_US.UTF-8";
};
} \ No newline at end of file
diff --git a/nixos/modules/system/services/default.nix b/nixos/modules/system/services/default.nix
index 40cfa89..0f06931 100644
--- a/nixos/modules/system/services/default.nix
+++ b/nixos/modules/system/services/default.nix
@@ -10,4 +10,4 @@
SystemMaxUse=50M
MaxRetentionSec=1month
'';
-} \ No newline at end of file
+}
diff --git a/nixos/modules/system/users/default.nix b/nixos/modules/system/users/default.nix
index 042c055..19c2b56 100644
--- a/nixos/modules/system/users/default.nix
+++ b/nixos/modules/system/users/default.nix
@@ -31,4 +31,4 @@
ll = "eza -al --icons=auto";
};
};
-} \ No newline at end of file
+}