chore: ordering of modules importing, comment mpd config, more flatpak edits

This commit is contained in:
Ruben 2024-04-18 21:01:19 -05:00
commit cca75b5138
No known key found for this signature in database
GPG key ID: AE181294E97E4802
3 changed files with 73 additions and 58 deletions

View file

@ -103,12 +103,13 @@
pkgs-master = nixpkgs-master.legacyPackages.${system};
};
modules = with self.nixosModules; [
./machines/thunkpad
declarativeHome ./users/ruben
# flatpaks
nix-flatpak.nixosModules.nix-flatpak
# nyx repo
chaotic.nixosModules.default
# system and user config
./machines/thunkpad
declarativeHome ./users/ruben
];
};
# my secondary laptop, a thinkpad yoga 14...?
@ -120,12 +121,13 @@
pkgs-master = nixpkgs-master.legacyPackages.${system};
};
modules = with self.nixosModules; [
./machines/thonkpad
declarativeHome ./users/ruben
# flatpaks
nix-flatpak.nixosModules.nix-flatpak
# nyx repo
chaotic.nixosModules.default
# system and user config
./machines/thonkpad
declarativeHome ./users/ruben
];
};
};

View file

@ -197,6 +197,27 @@
wireplumber.enable = true;
};
# flatpaks
# TODO: unsure if i should even bother using flatpaks in a configuration/distro like this...
# maybe i can fully embrace flatpaks once i've figured out how to remove default packages
services.flatpak.remotes = lib.mkOptionDefault [{
name = "flathub-system";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}];
services.flatpak.update.auto.enable = true;
services.flatpak.uninstallUnmanaged = true;
# flatpak system packages
services.flatpak.packages = [
"org.mozilla.firefox"
"org.mozilla.Thunderbird"
"com.ulduzsoft.Birdtray"
"org.libreoffice.LibreOffice"
"org.gimp.GIMP"
"org.inkscape.Inkscape"
"org.qbittorrent.qBittorrent"
];
environment.systemPackages = with pkgs; [
git
wget fzf

View file

@ -46,6 +46,45 @@
homeDirectory = "/home/ruben";
};
# flatpaks
# TODO: unsure if i should even bother using flatpaks in a configuration/distro like this...
# maybe i can fully embrace flatpaks once i've figured out how to remove default packages
services.flatpak.remotes = lib.mkOptionDefault [{
name = "flathub-user";
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
}];
services.flatpak.update.auto.enable = true;
services.flatpak.uninstallUnmanaged = true;
# flatpak user packages
services.flatpak.packages = [
"org.kde.kdenlive"
"org.kde.krita"
"org.nicotine_plus.Nicotine"
"org.kde.okteta"
"md.obsidian.Obsidian"
"io.github.martinrotter.rssguardlite"
"com.dec05eba.gpu_screen_recorder"
"org.gajim.Gajim"
"in.cinny.Cinny"
"chat.revolt.RevoltDesktop"
"dev.vencord.Vesktop"
"org.signal.Signal"
"page.kramo.Cartridges"
"org.prismlauncher.PrismLauncher"
"org.libretro.RetroArch"
"net.pcsx2.PCSX2"
"org.duckstation.DuckStation"
"net.kuribo64.melonDS"
"org.DolphinEmu.dolphin-emu"
"org.ppsspp.PPSSPP"
"io.github.dosbox-staging"
"com.usebottles.bottles"
"net.davidotek.pupgui2"
"com.github.Matoking.protontricks"
"io.gitlab.azymohliad.WatchMate"
];
# Add stuff for your user as you see fit:
programs.neovim.enable = true;
home.packages = with pkgs; [
@ -67,39 +106,9 @@
imagemagick
yt-dlp
firefox
thunderbird
birdtray
libreoffice
inkscape gimp
kdenlive krita
nicotine-plus
okteta
obsidian
rssguard
obs-studio
gpu-screen-recorder-gtk
gajim
cinny-desktop
revolt-desktop
vesktop
signal-desktop
cartridges
prismlauncher
retroarchFull
pcsx2
dolphin-emu
dosbox-staging
bottles
protonup-qt
protontricks
mpv
qbittorrent
watchmate
nextcloud-client
obs-studio
ventoy-full
];
@ -161,32 +170,15 @@
EDITOR = "nvim";
};
# flatpaks
# TODO: unsure if i should even bother using flatpaks in a configuration/distro like this...
# maybe i can fully embrace flatpaks once i've figured out how to remove default packages
#services.flatpak.remotes = lib.mkOptionDefault [{
# name = "flathub";
# location = "https://dl.flathub.org/repo/#flathub.flatpakrepo";
#}];
#
#services.flatpak.update.auto.enable = true;
#services.flatpak.uninstallUnmanaged = true;
# flatpak user packages
#services.flatpak.packages = [
#{ appId = "com.brave.Browser"; origin = "flathub"; }
#"com.obsproject.Studio"
#"im.riot.Riot"
#];
# music!!
services.mpd = {
enable = true;
extraConfig = ''
''audio_output {
type "pipewire"
name "PipeWire"
}''
'';
#extraConfig = ''
# ''audio_output {
# type "pipewire"
# name "PipeWire"
# }''
#'';
};
xdg.userDirs.enable = true;