Compare commits
No commits in common. "b924128f7c4445abca1b28bacb4a5ec0c72e5c93" and "afb61709274516a9f2e00ce75e569540034a4255" have entirely different histories.
b924128f7c
...
afb6170927
3 changed files with 24 additions and 99 deletions
|
|
@ -19,44 +19,39 @@ let
|
||||||
# monochrome-light, monochrome-dark or colorful
|
# monochrome-light, monochrome-dark or colorful
|
||||||
TrayIconAppearance = "monochrome-light";
|
TrayIconAppearance = "monochrome-light";
|
||||||
};
|
};
|
||||||
Security = {
|
Security.HideNotes = true;
|
||||||
HideNotes = true;
|
|
||||||
IconDownloadFallback = true;
|
|
||||||
};
|
|
||||||
SSHAgent.Enabled = true;
|
SSHAgent.Enabled = true;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
users.users.toast.packages = [ pkgs.keepassxc ];
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = { kpxcSettings = kpxcSettings; };
|
extraSpecialArgs = { kpxcSettings = kpxcSettings; };
|
||||||
users.toast = { config, pkgs, kpxcSettings, ... }: {
|
users.toast = { config, pkgs, kpxcSettings, ... }: {
|
||||||
# No module for KeePassXC config :(
|
# No module for KeePassXC config :(
|
||||||
home = {
|
home.file = {
|
||||||
packages = [ pkgs.keepassxc ];
|
".config/keepassxc/keepassxc.ini".text = kpxcSettings;
|
||||||
file = {
|
# For some reason the autostart .desktop is not the same as the regular one
|
||||||
".config/keepassxc/keepassxc.ini".text = kpxcSettings;
|
".config/autostart/org.keepassxc.KeePassXC.desktop".text = ''
|
||||||
# For some reason the autostart .desktop is not the same as the regular one
|
[Desktop Entry]
|
||||||
".config/autostart/org.keepassxc.KeePassXC.desktop".text = ''
|
Name=KeePassXC
|
||||||
[Desktop Entry]
|
GenericName=Password Manager
|
||||||
Name=KeePassXC
|
Exec=keepassxc
|
||||||
GenericName=Password Manager
|
TryExec=keepassxc
|
||||||
Exec=keepassxc
|
Icon=keepassxc
|
||||||
TryExec=keepassxc
|
StartupWMClass=keepassxc
|
||||||
Icon=keepassxc
|
StartupNotify=true
|
||||||
StartupWMClass=keepassxc
|
Terminal=false
|
||||||
StartupNotify=true
|
Type=Application
|
||||||
Terminal=false
|
Version=1.0
|
||||||
Type=Application
|
Categories=Utility;Security;Qt;
|
||||||
Version=1.0
|
MimeType=application/x-keepass2;
|
||||||
Categories=Utility;Security;Qt;
|
X-GNOME-Autostart-enabled=true
|
||||||
MimeType=application/x-keepass2;
|
X-GNOME-Autostart-Delay=2
|
||||||
X-GNOME-Autostart-enabled=true
|
X-KDE-autostart-after=panel
|
||||||
X-GNOME-Autostart-Delay=2
|
X-LXQt-Need-Tray=true
|
||||||
X-KDE-autostart-after=panel
|
'';
|
||||||
X-LXQt-Need-Tray=true
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
./steam.nix
|
./steam.nix
|
||||||
./mangohud.nix
|
./mangohud.nix
|
||||||
./rpcs3.nix
|
./rpcs3.nix
|
||||||
./retroarch.nix
|
|
||||||
];
|
];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
heroic
|
heroic
|
||||||
|
|
|
||||||
|
|
@ -1,69 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
let
|
|
||||||
snes-roms = [
|
|
||||||
# ActRaiser
|
|
||||||
( pkgs.fetchzip {
|
|
||||||
url = "https://myrient.erista.me/files/No-Intro/Nintendo%20-%20Super%20Nintendo%20Entertainment%20System/ActRaiser%20%28USA%29.zip";
|
|
||||||
hash = "sha256-yxIL5Pqlp8xsx7wvNO1MlB8ffDjS0xpE+yrEfMj61As=";
|
|
||||||
} )
|
|
||||||
# Kirby Super Star
|
|
||||||
( pkgs.fetchzip {
|
|
||||||
url = "https://myrient.erista.me/files/No-Intro/Nintendo%20-%20Super%20Nintendo%20Entertainment%20System/Kirby%20Super%20Star%20%28USA%29.zip";
|
|
||||||
hash = "sha256-NX5OjCthf4ZiAhamclRBRk8GiMjZX3JLeShm8sQdDfc=";
|
|
||||||
} )
|
|
||||||
# Super Mario Kart
|
|
||||||
( pkgs.fetchzip {
|
|
||||||
url = "https://myrient.erista.me/files/No-Intro/Nintendo%20-%20Super%20Nintendo%20Entertainment%20System/Super%20Mario%20Kart%20%28USA%29.zip";
|
|
||||||
hash = "sha256-RLBxPBmBrXCuPdnWE07KamBNgGJ5IntQVUPeij+2HUI=";
|
|
||||||
} )
|
|
||||||
];
|
|
||||||
in
|
|
||||||
{
|
|
||||||
home-manager.users.toast = {
|
|
||||||
home = {
|
|
||||||
packages = [(
|
|
||||||
pkgs.retroarch.override {
|
|
||||||
cores = with pkgs.libretro; [
|
|
||||||
snes9x
|
|
||||||
];
|
|
||||||
settings = {
|
|
||||||
video_driver = "vulkan";
|
|
||||||
video_fullscreen = "true";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
)];
|
|
||||||
file."Games/Roms/SNES/" = {
|
|
||||||
onChange = ''
|
|
||||||
${pkgs.retroarch}/bin/retroarch --scan "/home/toast/Games/Roms/SNES"
|
|
||||||
'';
|
|
||||||
source = pkgs.symlinkJoin {
|
|
||||||
name = "snes-roms";
|
|
||||||
paths = [ snes-roms ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
# Add a syncthing ignore file to the retroarch folder
|
|
||||||
xdg.configFile."retroarch-stignore" = {
|
|
||||||
target = "retroarch/.stignore";
|
|
||||||
text = ''
|
|
||||||
!saves
|
|
||||||
!states
|
|
||||||
!database
|
|
||||||
!playlists
|
|
||||||
|
|
||||||
// Ignore everything except stuff above
|
|
||||||
*
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Sync saves and some other stuff
|
|
||||||
services.syncthing.settings.folders = {
|
|
||||||
"retroarch" = {
|
|
||||||
label = "RetroArch";
|
|
||||||
id = "jxuou-2yjnu";
|
|
||||||
devices = [ "steamdeck" "pc" ];
|
|
||||||
path = "~/.config/retroarch";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue