92 lines
1.6 KiB
Nix
Raw Normal View History

2025-01-01 21:40:43 +01:00
{pkgs, ...}:
{
hardware.sane.enable = true;
hardware.graphics.enable = true;
environment.systemPackages = with pkgs; [
calibre
2025-01-01 22:02:12 +01:00
chromium
2025-01-01 21:40:43 +01:00
dracula-theme
2025-01-01 22:02:12 +01:00
eog
2025-01-01 21:40:43 +01:00
evince
2025-01-01 22:02:12 +01:00
firefox
2025-01-01 21:40:43 +01:00
gimp
inkscape
libreoffice
2025-01-01 22:02:12 +01:00
logseq
nautilus
2025-01-02 16:55:40 +01:00
orca-slicer
2025-01-01 21:40:43 +01:00
pavucontrol
portfolio
pulseaudio
signal-desktop
2025-01-01 22:02:12 +01:00
simple-scan
2025-01-01 21:40:43 +01:00
spotify
syncthing
2025-01-01 22:02:12 +01:00
thunderbird
2025-01-01 21:40:43 +01:00
vlc
wayshot
wdisplays
wl-clipboard
xdg-utils
yt-dlp
];
2025-01-01 22:02:12 +01:00
# Workaround for logseq
nixpkgs.config.permittedInsecurePackages = [
"electron-27.3.11"
];
2025-01-01 21:40:43 +01:00
programs = {
light.enable = true;
sway.enable = true;
};
2025-01-01 22:02:12 +01:00
security.rtkit.enable = true;
2025-01-01 21:40:43 +01:00
services = {
dbus.enable = true;
2025-01-02 14:46:29 +01:00
gvfs.enable = true;
2025-01-01 21:40:43 +01:00
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 = "*";
};
}