summary refs log tree commit diff
path: root/host/Arc
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-03-03 16:27:16 +0100
committerRory& <root@rory.gay>2026-03-03 16:27:16 +0100
commit87adfeda7170248e8063683f43495527a1df7542 (patch)
tree434b37eb9809c618c3b74c65793c633c5d5402ba /host/Arc
parentnix bincache on laptop (diff)
downloadRory-Open-Architecture-master.tar.xz
aspiretc705 HEAD master
Diffstat (limited to 'host/Arc')
-rw-r--r--host/Arc/configuration.nix28
-rw-r--r--host/Arc/optional/gui/wayland.nix2
-rw-r--r--host/Arc/printing.nix54
3 files changed, 72 insertions, 12 deletions
diff --git a/host/Arc/configuration.nix b/host/Arc/configuration.nix

index d4c593d..4a7ba93 100644 --- a/host/Arc/configuration.nix +++ b/host/Arc/configuration.nix
@@ -12,13 +12,15 @@ args@{ # base imports ../../modules/base-client.nix ../../packages/vim.nix - ../../modules/users/Arci.nix + #../../modules/users/Arci.nix + ../../modules/users/geba.nix # hardware-specific imports #./optional/hardware-specific/nvidia.nix #./optional/gui/x11.nix ./optional/gui/wayland.nix + ./printing.nix ]; boot = { @@ -36,8 +38,9 @@ args@{ }; programs.noisetorch.enable = true; programs.gamemode.enable = true; - users.users.Rory.extraGroups = [ "gamemode" ]; - users.users.Arci.extraGroups = [ "gamemode" ]; + #users.users.Rory.extraGroups = [ "gamemode" ]; + #users.users.Arci.extraGroups = [ "gamemode" ]; + users.users.geba.extraGroups = [ "gamemode" ]; environment.sessionVariables = { ZSH_DISABLE_COMPFIX = "true"; @@ -61,8 +64,8 @@ args@{ services = { displayManager.gdm.enable = true; - displayManager.lightdm.enable = false; xserver = { + displayManager.lightdm.enable = false; enable = true; updateDbusEnvironment = true; xkb.layout = "us"; @@ -92,7 +95,7 @@ args@{ environment.systemPackages = with pkgs; [ eog #mpv - libreoffice + #libreoffice qt6.qtwayland #easyeffects @@ -124,15 +127,16 @@ args@{ firefox-bin #ungoogled-chromium #needed for Rider in order to debug WASM + google-chrome unrar-wrapper #mangohud #prismlauncher #vesktop #mindustry - thunderbird + #thunderbird - blueman - ft2-clone + #blueman + #ft2-clone (callPackage ../../packages/nheko-git.nix { inherit nhekoSrc; @@ -143,7 +147,7 @@ args@{ programs.steam = { enable = false; - gamescopeSession.enable = true; + gamescopeSession.enable = false; extraCompatPackages = with pkgs; [ steam-play-none proton-ge-bin @@ -221,8 +225,8 @@ args@{ #}; # }; - virtualisation.libvirtd.enable = true; - programs.virt-manager.enable = true; + virtualisation.libvirtd.enable = false; + programs.virt-manager.enable = false; monitoring = { monitorAll = false; @@ -238,7 +242,7 @@ args@{ services.gvfs.enable = true; zramSwap = { enable = true; - memoryPercent = 200; + memoryPercent = 300; }; services.pcscd.enable = true; diff --git a/host/Arc/optional/gui/wayland.nix b/host/Arc/optional/gui/wayland.nix
index f3bc56d..639906f 100644 --- a/host/Arc/optional/gui/wayland.nix +++ b/host/Arc/optional/gui/wayland.nix
@@ -52,6 +52,8 @@ virt-viewer keepassxc networkmanagerapplet + mpv + #obs-studio ]; #environment.etc."hyprPlugins" = { diff --git a/host/Arc/printing.nix b/host/Arc/printing.nix new file mode 100644
index 0000000..4f86347 --- /dev/null +++ b/host/Arc/printing.nix
@@ -0,0 +1,54 @@ +{ pkgs, ... }: + +{ + imports = [ ]; + + users.users = { + Rory = { + extraGroups = [ + "lp" + "scanner" + ]; + }; + }; + + environment.systemPackages = with pkgs; [ + xsane + simple-scan + ]; + + hardware = { + sane.enable = true; + sane.extraBackends = [ + pkgs.hplipWithPlugin + pkgs.sane-airscan + ]; + }; + + programs.system-config-printer.enable = true; + + services = { + gvfs.enable = true; + saned.enable = true; + system-config-printer.enable = true; + ipp-usb.enable = true; + printing = { + enable = true; + browsing = true; + drivers = with pkgs; [ hplip ]; + }; + avahi = { + enable = true; + nssmdns4 = true; + reflector = true; + publish = { + workstation = true; + userServices = true; + hinfo = true; + enable = true; + domain = true; + addresses = true; + }; + }; + }; +}