Installed flatpak + apps I usually install as flatpaks

This commit is contained in:
Emmet 2023-06-08 11:45:08 -05:00
parent 1a3a7f7674
commit ef93b433b8
4 changed files with 17 additions and 7 deletions

View file

@ -6,9 +6,8 @@
{ {
imports = imports =
[ # Include the results of the hardware scan. [ ./hardware-configuration.nix
./hardware-configuration.nix #./style/stylix.nix
# ./style/stylix.nix
]; ];
nix.nixPath = [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos" nix.nixPath = [ "nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
@ -18,6 +17,10 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
# Need some flatpaks
services.flatpak.enable = true;
xdg.portal.enable = true;
# Doas instead of sudo # Doas instead of sudo
security.doas.enable = true; security.doas.enable = true;
security.sudo.enable = false; security.sudo.enable = false;

View file

@ -14,12 +14,12 @@ in
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
# Games # Games
#TODO need flatpak steam
gamehub gamehub
myRetroarch myRetroarch
airshipper airshipper
qjoypad qjoypad
# TODO need flatpak minecraft prismlauncher
#TODO need flatpak steam - I don't have this declaratively yet
]; ];
# The following 2 declarations allow retroarch to be imported into gamehub # The following 2 declarations allow retroarch to be imported into gamehub
# Set retroarch core directory to ~/.local/bin/libretro # Set retroarch core directory to ~/.local/bin/libretro
@ -29,4 +29,6 @@ in
url = "https://github.com/libretro/libretro-core-info/archive/refs/tags/v1.15.0.tar.gz"; url = "https://github.com/libretro/libretro-core-info/archive/refs/tags/v1.15.0.tar.gz";
sha256 = "004kgbsgbk7hn1v01jg3vj4b6dfb2cp3kcp5hgjyl030wqg1r22q"; sha256 = "004kgbsgbk7hn1v01jg3vj4b6dfb2cp3kcp5hgjyl030wqg1r22q";
}; };
# To get steam to import into gamehub, first install it as a flatpak, then
# Set steam directory to ~/.var/app/com.valvesoftware.Steam/.steam
} }

View file

@ -75,9 +75,9 @@
libmediainfo libmediainfo
mediainfo-gui mediainfo-gui
freetube freetube
# TODO need ytsub somehow (sarowish/ytsub)
audio-recorder audio-recorder
pavucontrol pavucontrol
gtkcord4
# Command Line # Command Line
neofetch lolcat cowsay neofetch lolcat cowsay
@ -133,12 +133,13 @@
# TODO Configure pipewire audio server # TODO Configure pipewire audio server
# Virtual Machines # Virtual Machines and wine
libvirt libvirt
virt-manager virt-manager
qemu_full qemu_full
lxc lxc
swtpm swtpm
bottles
# Security # Security
keepassxc keepassxc
@ -215,6 +216,7 @@
home.sessionVariables = { home.sessionVariables = {
EDITOR = "emacsclient"; EDITOR = "emacsclient";
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/usr/share:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"; # lets flatpak work
}; };
# extra packages # extra packages

View file

@ -198,6 +198,9 @@ opacity-rule = [
"90:class_g = 'xmobar'", "90:class_g = 'xmobar'",
"90:class_g = 'firefox'", "90:class_g = 'firefox'",
"90:class_g = 'librewolf'", "90:class_g = 'librewolf'",
"90:class_g = 'gtkcord4'",
"90:class_g = 'bottles'",
"90:class_g = 'PrismLauncher'",
"90:class_g = 'Navigator'", "90:class_g = 'Navigator'",
"90:class_g = 'Rofi'", "90:class_g = 'Rofi'",
"90:class_g = 'Geary'", "90:class_g = 'Geary'",