Auto: cleanup-2026-07-26T14-02-17Z

This commit is contained in:
2026-07-26 16:02:39 +02:00
parent 5e7550f6d7
commit eca6ad278d
10 changed files with 36 additions and 23 deletions
+2 -1
View File
@@ -75,7 +75,8 @@
"steam" "steam"
"steam-unwrapped" "steam-unwrapped"
"cheatsheet.nvim" "cheatsheet.nvim"
"zoom-us" "zoom" "zoom-us"
"zoom"
]; ];
mkUnfreePredicate = pkg: mkUnfreePredicate = pkg:
builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs; builtins.elem (inputs.nixpkgs.lib.getName pkg) unfreePkgs;
+6 -7
View File
@@ -57,14 +57,13 @@
"if [ -e \"/home/tomasr/icloudSync.sh\" ]; then /home/tomasr/icloudSync.sh; else notify-send \"icloudSync.sh doesn't exist\" \"See ~/nixos/modules/applications/hyprland.nix for more information\"; fi" "if [ -e \"/home/tomasr/icloudSync.sh\" ]; then /home/tomasr/icloudSync.sh; else notify-send \"icloudSync.sh doesn't exist\" \"See ~/nixos/modules/applications/hyprland.nix for more information\"; fi"
# my icloud account uses an email that I don't want to make public. So the script isnt pushed to github. The script looks like: # my icloud account uses an email that I don't want to make public. So the script isnt pushed to github. The script looks like:
/* /*
#!/etc/profiles/per-user/tomasr/bin/zsh #!/etc/profiles/per-user/tomasr/bin/zsh
if ! icloudpd --auth-only --username tomas.rivera_2009@icloud.com --dry-run; then if ! icloudpd --auth-only --username tomas.rivera_2009@icloud.com --dry-run; then
notify-send "icloudpd is not logged in" "Please run icloudpd icloudpd --username my@email.address --password my_password --auth-only" notify-send "icloudpd is not logged in" "Please run icloudpd icloudpd --username my@email.address --password my_password --auth-only"
exit 1 exit 1
fi fi
icloudpd --directory ~/hdd/kdrive/Photo/IPhone/icloudpd-backup --username tomas.rivera_2009@icloud.com --watch-with-interval 3600 --no-progress-bar icloudpd --directory ~/hdd/kdrive/Photo/IPhone/icloudpd-backup --username tomas.rivera_2009@icloud.com --watch-with-interval 3600 --no-progress-bar
*/ */
]; ];
}; };
}; };
+2 -2
View File
@@ -35,8 +35,8 @@
CPUWeight = 1; # minimum relative CPU share CPUWeight = 1; # minimum relative CPU share
}; };
}; };
systemd.user.timers.kdrive-sync = { systemd.user.timers.kdrive-sync = {
wantedBy = [ "timers.target" ]; wantedBy = ["timers.target"];
timerConfig = { timerConfig = {
OnBootSec = "10m"; OnBootSec = "10m";
OnUnitActiveSec = "1h"; OnUnitActiveSec = "1h";
+4 -2
View File
@@ -36,7 +36,8 @@
services.system76-scheduler.settings.cfsProfiles.enable = true; # Better scheduling for CPU cycles - thanks System76!!! services.system76-scheduler.settings.cfsProfiles.enable = true; # Better scheduling for CPU cycles - thanks System76!!!
services.thermald.enable = false; # Enable thermald, the temperature management daemon. (only necessary if on Intel CPUs) services.thermald.enable = false; # Enable thermald, the temperature management daemon. (only necessary if on Intel CPUs)
services.power-profiles-daemon.enable = true; # ppd is recommended over tlp for framework 16 services.power-profiles-daemon.enable = true; # ppd is recommended over tlp for framework 16
/*services.tlp = { /*
services.tlp = {
enable = true; # Enable TLP (better than gnomes internal power manager) enable = true; # Enable TLP (better than gnomes internal power manager)
settings = { settings = {
CPU_BOOST_ON_AC = 1; CPU_BOOST_ON_AC = 1;
@@ -51,7 +52,8 @@
PLATFORM_PROFILE_ON_BAT = "powersave"; PLATFORM_PROFILE_ON_BAT = "powersave";
STOP_CHARGE_THRESH_BAT1 = 80; STOP_CHARGE_THRESH_BAT1 = 80;
}; };
};*/ };
*/
environment.systemPackages = [ environment.systemPackages = [
self.packages.${pkgs.system}.custom-performance self.packages.${pkgs.system}.custom-performance
]; ];
+1 -1
View File
@@ -1,5 +1,5 @@
{self, ...}: { {self, ...}: {
flake.nixosModules.performance-desktop = {pkgs,...}: { flake.nixosModules.performance-desktop = {pkgs, ...}: {
environment.systemPackages = [ environment.systemPackages = [
self.packages.${pkgs.system}.custom-performance self.packages.${pkgs.system}.custom-performance
]; ];
+3 -3
View File
@@ -4,9 +4,9 @@
inputs.agenix.packages.${pkgs.system}.default inputs.agenix.packages.${pkgs.system}.default
pkgs.age pkgs.age
]; ];
age.identityPaths = [ age.identityPaths = [
"/etc/ssh/ssh_host_ed25519_key" "/etc/ssh/ssh_host_ed25519_key"
]; ];
age.secrets.ntfy = { age.secrets.ntfy = {
file = ../../secrets/ntfy.age; file = ../../secrets/ntfy.age;
owner = "tomasr"; owner = "tomasr";
+10 -2
View File
@@ -1,5 +1,9 @@
{self, ...}: { {self, ...}: {
flake.nixosModules.autoUpdate-laptop = {pkgs, config, ...}: { flake.nixosModules.autoUpdate-laptop = {
pkgs,
config,
...
}: {
age.secrets.ntfy = { age.secrets.ntfy = {
file = ../../secrets/ntfy.age; file = ../../secrets/ntfy.age;
}; };
@@ -52,7 +56,11 @@
}; };
## desktop ## desktop
flake.nixosModules.autoUpdate-desktop = {pkgs, config,...}: { flake.nixosModules.autoUpdate-desktop = {
pkgs,
config,
...
}: {
age.secrets.ntfy = { age.secrets.ntfy = {
file = ../../secrets/ntfy.age; file = ../../secrets/ntfy.age;
}; };
+5 -1
View File
@@ -1,5 +1,9 @@
{self, ...}: { {self, ...}: {
flake.nixosModules.gitBackup = {pkgs, config, ...}: { flake.nixosModules.gitBackup = {
pkgs,
config,
...
}: {
age.secrets.ntfy = { age.secrets.ntfy = {
file = ../../secrets/ntfy.age; file = ../../secrets/ntfy.age;
}; };
+1 -2
View File
@@ -1,8 +1,7 @@
let let
backupAgeKey = "age1y4lhpk7awhjyu42p46ulg5q2c49r2lnwu8tyyk4ejj6jztd64uksfhd670"; backupAgeKey = "age1y4lhpk7awhjyu42p46ulg5q2c49r2lnwu8tyyk4ejj6jztd64uksfhd670";
laptopHostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJCsewl8ZXXMjRyO20cBIiuW2gA4mGoMkxQ0dcMyNidR root@nixos"; laptopHostKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJCsewl8ZXXMjRyO20cBIiuW2gA4mGoMkxQ0dcMyNidR root@nixos";
in in {
{
"ntfy.age".publicKeys = [ "ntfy.age".publicKeys = [
backupAgeKey backupAgeKey
laptopHostKey laptopHostKey