80 lines
1.4 KiB
Nix
80 lines
1.4 KiB
Nix
|
{pkgs, ...}:
|
||
|
{
|
||
|
hardware.sane.enable = true;
|
||
|
hardware.graphics.enable = true;
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
calibre
|
||
|
dracula-theme
|
||
|
evince
|
||
|
gimp
|
||
|
eog
|
||
|
nautilus
|
||
|
simple-scan
|
||
|
inkscape
|
||
|
libreoffice
|
||
|
pavucontrol
|
||
|
portfolio
|
||
|
prusa-slicer
|
||
|
pulseaudio
|
||
|
signal-desktop
|
||
|
spotify
|
||
|
syncthing
|
||
|
vlc
|
||
|
wayshot
|
||
|
wdisplays
|
||
|
wl-clipboard
|
||
|
xdg-utils
|
||
|
yt-dlp
|
||
|
];
|
||
|
|
||
|
programs = {
|
||
|
light.enable = true;
|
||
|
sway.enable = true;
|
||
|
};
|
||
|
|
||
|
services = {
|
||
|
dbus.enable = true;
|
||
|
greetd = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
default_session = {
|
||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --asterisks --cmd sway";
|
||
|
user = "rothe";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
pipewire = {
|
||
|
enable = true;
|
||
|
alsa.enable = true;
|
||
|
pulse.enable = true;
|
||
|
};
|
||
|
syncthing = {
|
||
|
enable = true;
|
||
|
user = "rothe";
|
||
|
group = "users";
|
||
|
dataDir = "/home/rothe";
|
||
|
overrideFolders = false;
|
||
|
overrideDevices = false;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
programs = {
|
||
|
# Helper for nixos output
|
||
|
nh = {
|
||
|
enable = true;
|
||
|
clean.enable = true;
|
||
|
clean.extraArgs = "--keep-since 4d --keep 3";
|
||
|
flake = "/home/rothe/src/nixos-config";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
xdg.portal = {
|
||
|
enable = true;
|
||
|
wlr.enable = true;
|
||
|
# gtk portal needed to make gtk apps happy
|
||
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||
|
config.common.default = "*";
|
||
|
};
|
||
|
}
|