add script to update without updating flakes; add nix pkgs unstable input; added ryujinx

This commit is contained in:
2025-01-09 22:11:16 +00:00
parent 9236159267
commit 6a459813e9
4 changed files with 33 additions and 25 deletions

View File

@@ -80,6 +80,7 @@
libnotify
electrum
gpu-screen-recorder-gtk
inputs.nixpkgs-unstable.legacyPackages."${pkgs.system}".ryujinx-greemdev
];
fonts.fontconfig = {
@@ -126,6 +127,10 @@
NIXOS_OZONE_WL = "1";
};
home.sessionPath = [
"$HOME/.local/bin"
];
# Let Home Manager install and manage itself.
programs = {
home-manager.enable = true;
@@ -173,23 +178,6 @@
};
systemd.user = {
# enable = true;
# paths = {
# rclone-media = {
# Unit = {
# Description = "rclone unit path for /mnt/HDD1/Videos/";
# After = [ "network.target" "mnt-HDD1.mount" ];
# };
# Path = {
# PathChanged = "/mnt/HDD1/Videos/";
# };
# Install = {
# WantedBy = [ "default.target" ];
# };
# };
# };
services = {
rclone-media = {
Unit = {
@@ -204,9 +192,9 @@
Service = {
Type = "exec";
ExecStart = "${pkgs.writeShellApplication {
name = "rclone-media";
runtimeInputs = [ pkgs.inotify-tools pkgs.libnotify pkgs.rclone ];
text = ''
name = "rclone-media";
runtimeInputs = [ pkgs.inotify-tools pkgs.libnotify pkgs.rclone ];
text = ''
function rclonecopy {
file=$1
changed_rel=''${file#"/mnt/HDD1/Videos"}
@@ -226,7 +214,7 @@
rclonecopy "$file"
done
'';
}}/bin/rclone-media";
}}/bin/rclone-media";
};
};
};