fix steam scaling finally lol

This commit is contained in:
mjallen18
2025-02-05 17:46:01 -06:00
parent 8f0efc9c56
commit 90ba19c057
4 changed files with 90 additions and 20 deletions

View File

@@ -133,20 +133,69 @@ in
openFirewall = lib.mkDefault true;
};
borgbackup.jobs.home-matt = {
encryption.mode = "repokey";
encryption.passCommand = "cat /root/borg";
environment.BORG_RSH = "ssh -i /home/matt/.ssh/id_ed25519";
repo = "/media/nas/backup/desktop-nix/borg/home";
compression = "auto,zstd";
inhibitsSleep = true;
paths = "/home/matt";
exclude = [
"/home/matt/Games"
"/home/matt/1TB"
];
restic.backups = {
jallen-nas = {
initialize = true;
createWrapper = true;
inhibitsSleep = true;
environmentFile = config.sops.templates."restic.env".path;
passwordFile = config.sops.secrets."desktop/restic/password".path;
repository = "rest:http://admin:BogieDudie1@10.0.1.18:8008";
paths = [
"/home/matt"
];
exclude = [
"/home/matt/Games"
"/home/matt/1TB"
"/home/matt/Downloads"
"/home/matt/Nextcloud"
"/home/matt/.cache"
"/home/matt/.local/share/Steam"
"/home/matt/.var/app/com.valvesoftware.Steam"
"/home/matt/.tmp"
"/home/matt/.thumbnails"
"/home/matt/.compose-cache"
];
};
proton-drive = {
initialize = true;
createWrapper = true;
inhibitsSleep = true;
passwordFile = config.sops.secrets."desktop/restic/password".path;
rcloneConfigFile = "/home/matt/.config/rclone/rclone.conf";
repository = "rclone:proton-drive:backup-nix";
paths = [
"/home/matt"
];
exclude = [
"/home/matt/Games"
"/home/matt/1TB"
"/home/matt/Downloads"
"/home/matt/Nextcloud"
"/home/matt/.cache"
"/home/matt/.local/share/Steam"
"/home/matt/.var/app/com.valvesoftware.Steam"
"/home/matt/.tmp"
"/home/matt/.thumbnails"
"/home/matt/.compose-cache"
];
};
};
# borgbackup.jobs.home-matt = {
# encryption.mode = "repokey";
# encryption.passCommand = "cat /root/borg";
# environment.BORG_RSH = "ssh -i /home/matt/.ssh/id_ed25519";
# repo = "/media/nas/backup/desktop-nix/borg/home";
# compression = "auto,zstd";
# inhibitsSleep = true;
# paths = "/home/matt";
# exclude = [
# "/home/matt/Games"
# "/home/matt/1TB"
# ];
# };
btrfs = {
autoScrub.enable = lib.mkDefault true;
autoScrub.fileSystems = lib.mkDefault [
@@ -192,7 +241,7 @@ in
user.services = {
rclone-home-proton = {
enable = lib.mkDefault true;
enable = lib.mkDefault false;
path = [
pkgs.bash
pkgs.rclone
@@ -203,7 +252,7 @@ in
};
rsync-home = {
enable = lib.mkDefault true;
enable = lib.mkDefault false;
path = [
pkgs.bash
pkgs.rsync
@@ -277,6 +326,9 @@ in
stable.qemu_full
rclone
rclone-browser
restic
restic-browser
restic-integrity
rsync
sane-frontends
sbctl
@@ -323,6 +375,11 @@ in
voltage_offset: 0
power_states: {}
'';
variables = {
STEAM_FORCE_DESKTOPUI_SCALING = "1.0";
GDK_SCALE = "1";
};
};
# Configure nixpkgs