clean up of printer stuff & flatpaks

This commit is contained in:
ari committed 2026-05-23 15:25:27 -04:00
1 parent 633996af1f
commit 77601c69da
4 files changed
+26 -33

No files matched your search

+10
View File
@@ -5,6 +5,7 @@
}:
let
cfg = config.skyg.nixos;
skygUser = config.skyg.user;
in
{
imports = [
@@ -26,6 +27,15 @@ in
};
};
config = lib.mkIf cfg.desktop.enable {
users.users.${skygUser.name}.extraGroups = [
"input"
"disk"
"wheel"
"tty"
"dialout"
"plugdev"
"uucp"
];
services.dbus.enable = true;
services.displayManager.enable = true;
services.libinput.enable = true;
+6
View File
@@ -6,6 +6,12 @@ in
config = lib.mkIf cfg.enable {
# Flatpak
services.flatpak.enable = true;
services.flatpak.packages = [
"org.chromium.Chromium"
"io.github.kolunmi.Bazaar"
"com.spotify.Client"
"org.pipewire.Helvum"
];
environment.systemPackages = (with pkgs; [
# General utils
busybox
+10 -2
View File
@@ -1,7 +1,15 @@
{ pkgs, lib, config, ... }:
{
config = {
services.printing = lib.mkIf config.skyg.nixos.desktop.enable {
config = lib.mkIf config.skyg.nixos.desktop.enable {
services.flatpak.overrides = {
"org.chromium.Chromium" = {
Context = {
sockets = [ "cups" ];
};
};
};
services.printing = {
enable = true;
drivers = with pkgs; [
gutenprint