summaryrefslogtreecommitdiff
path: root/modules/core/software/services
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-22 15:15:46 -0700
committerFuwn <[email protected]>2024-09-22 15:15:46 -0700
commit08d4be5b51bb595e55555cc93c47f7adc77ed1c3 (patch)
treeb89c6b008116fba278b9fc5238c8a1a0f3efbbec /modules/core/software/services
parentcore: move variables and virtualisation to desktop (diff)
downloadnixos-config-08d4be5b51bb595e55555cc93c47f7adc77ed1c3.tar.xz
nixos-config-08d4be5b51bb595e55555cc93c47f7adc77ed1c3.zip
core: move harware and software to desktop
Diffstat (limited to 'modules/core/software/services')
-rw-r--r--modules/core/software/services/adb.nix12
-rw-r--r--modules/core/software/services/ananicy.nix8
-rw-r--r--modules/core/software/services/dbus.nix15
-rw-r--r--modules/core/software/services/default.nix24
-rw-r--r--modules/core/software/services/libinput.nix13
-rw-r--r--modules/core/software/services/logrotate.nix24
-rw-r--r--modules/core/software/services/ollama.nix6
-rw-r--r--modules/core/software/services/printing.nix19
-rw-r--r--modules/core/software/services/xserver.nix10
9 files changed, 0 insertions, 131 deletions
diff --git a/modules/core/software/services/adb.nix b/modules/core/software/services/adb.nix
deleted file mode 100644
index d106ead..0000000
--- a/modules/core/software/services/adb.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ pkgs, ... }:
-{
- programs.adb.enable = true;
-
- services.udev = {
- packages = [ pkgs.android-udev-rules ];
-
- extraRules = ''
- SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="adbusers"
- '';
- };
-}
diff --git a/modules/core/software/services/ananicy.nix b/modules/core/software/services/ananicy.nix
deleted file mode 100644
index bdc9bbd..0000000
--- a/modules/core/software/services/ananicy.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ pkgs, ... }:
-{
- services.ananicy = {
- enable = false;
- package = pkgs.ananicy-cpp;
- rulesProvider = pkgs.ananicy-rules-cachyos;
- };
-}
diff --git a/modules/core/software/services/dbus.nix b/modules/core/software/services/dbus.nix
deleted file mode 100644
index 8b25bf9..0000000
--- a/modules/core/software/services/dbus.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ pkgs, ... }:
-{
- services.dbus = {
- enable = true;
- implementation = "broker";
-
- packages = with pkgs; [
- dconf
- gcr
- udisks2
- # flatpak
- # xdg-desktop-portal
- ];
- };
-}
diff --git a/modules/core/software/services/default.nix b/modules/core/software/services/default.nix
deleted file mode 100644
index 4b9ccf6..0000000
--- a/modules/core/software/services/default.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ pkgs, ... }:
-{
- imports = [
- # ./adb.nix
- ./ananicy.nix
- ./dbus.nix
- ./libinput.nix
- ./logrotate.nix
- ./ollama.nix
- # ./printing.nix
- ./xserver.nix
- ];
-
- services = {
- printing.enable = false;
- gnome.gnome-keyring.enable = true;
- fstrim.enable = false;
- gvfs.enable = true;
- udev.packages = with pkgs; [ pkgs.logitech-udev-rules ];
- thermald.enable = true;
- irqbalance.enable = true;
- gpm.enable = true;
- };
-}
diff --git a/modules/core/software/services/libinput.nix b/modules/core/software/services/libinput.nix
deleted file mode 100644
index 643f814..0000000
--- a/modules/core/software/services/libinput.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- services.libinput = {
- enable = true;
-
- mouse = {
- accelProfile = "flat";
- };
-
- touchpad = {
- accelProfile = "flat";
- };
- };
-}
diff --git a/modules/core/software/services/logrotate.nix b/modules/core/software/services/logrotate.nix
deleted file mode 100644
index 2dedf2e..0000000
--- a/modules/core/software/services/logrotate.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ pkgs, lib, ... }:
-{
- services.logrotate.settings = {
- "/var/log/audit/audit.log" = { };
-
- header = {
- global = true;
- dateext = true;
- dateformat = "-%Y-%m-%d";
- nomail = true;
- missingok = true;
- copytruncate = true;
- priority = 1;
- frequency = "daily";
- rotate = 7;
- minage = 1;
- compress = true;
- compresscmd = "${lib.getExe' pkgs.zstd "zstd"}";
- compressoptions = " -Xcompression-level 10";
- compressext = "zst";
- uncompresscmd = "${lib.getExe' pkgs.zstd "unzstd"}";
- };
- };
-}
diff --git a/modules/core/software/services/ollama.nix b/modules/core/software/services/ollama.nix
deleted file mode 100644
index d737250..0000000
--- a/modules/core/software/services/ollama.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- services.ollama = {
- enable = true;
- acceleration = "cuda";
- };
-}
diff --git a/modules/core/software/services/printing.nix b/modules/core/software/services/printing.nix
deleted file mode 100644
index f7a38de..0000000
--- a/modules/core/software/services/printing.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ pkgs, ... }:
-{
- services = {
- printing = {
- enable = true;
-
- drivers = with pkgs; [
- gutenprint
- hplip
- ];
- };
-
- avahi = {
- enable = true;
- nssmdns4 = true;
- openFirewall = true;
- };
- };
-}
diff --git a/modules/core/software/services/xserver.nix b/modules/core/software/services/xserver.nix
deleted file mode 100644
index f1833a4..0000000
--- a/modules/core/software/services/xserver.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- services.xserver = {
- xkb = {
- layout = "us";
- options = "caps:escape";
- };
-
- videoDrivers = [ "nvidia" ];
- };
-}