diff options
Diffstat (limited to 'modules/pc/software')
| -rw-r--r-- | modules/pc/software/default.nix | 1 | ||||
| -rw-r--r-- | modules/pc/software/services/adb.nix | 12 | ||||
| -rw-r--r-- | modules/pc/software/services/ananicy.nix | 8 | ||||
| -rw-r--r-- | modules/pc/software/services/dbus.nix | 15 | ||||
| -rw-r--r-- | modules/pc/software/services/default.nix | 22 | ||||
| -rw-r--r-- | modules/pc/software/services/logrotate.nix | 24 | ||||
| -rw-r--r-- | modules/pc/software/services/printing.nix | 19 |
7 files changed, 0 insertions, 101 deletions
diff --git a/modules/pc/software/default.nix b/modules/pc/software/default.nix index 0f432d7..239bf93 100644 --- a/modules/pc/software/default.nix +++ b/modules/pc/software/default.nix @@ -5,7 +5,6 @@ ./boot ./desktop ./multimedia - ./services ./encryption.nix ./input.nix ./programs.nix diff --git a/modules/pc/software/services/adb.nix b/modules/pc/software/services/adb.nix deleted file mode 100644 index d106ead..0000000 --- a/modules/pc/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/pc/software/services/ananicy.nix b/modules/pc/software/services/ananicy.nix deleted file mode 100644 index bdc9bbd..0000000 --- a/modules/pc/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/pc/software/services/dbus.nix b/modules/pc/software/services/dbus.nix deleted file mode 100644 index 8b25bf9..0000000 --- a/modules/pc/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/pc/software/services/default.nix b/modules/pc/software/services/default.nix deleted file mode 100644 index 92baa54..0000000 --- a/modules/pc/software/services/default.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ pkgs, ... }: -{ - imports = [ - # ./adb.nix - ./ananicy.nix - ./dbus.nix - ./logrotate.nix - # ./printing.nix - ]; - - services = { - printing.enable = false; - gnome.gnome-keyring.enable = true; - fstrim.enable = false; - gvfs.enable = true; - udev.packages = [ pkgs.logitech-udev-rules ]; - thermald.enable = true; - irqbalance.enable = true; - gpm.enable = true; - libinput.enable = true; - }; -} diff --git a/modules/pc/software/services/logrotate.nix b/modules/pc/software/services/logrotate.nix deleted file mode 100644 index 2dedf2e..0000000 --- a/modules/pc/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/pc/software/services/printing.nix b/modules/pc/software/services/printing.nix deleted file mode 100644 index f7a38de..0000000 --- a/modules/pc/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; - }; - }; -} |