This commit is contained in:
alydev 2025-10-21 16:23:10 +10:00
parent ad2ace1e99
commit 69fa5d2ee0
4 changed files with 11 additions and 14 deletions

View file

@ -9,13 +9,14 @@ boot:
commit: commit:
git add . git add .
-git pull origin main
-git commit -a -m "update" -git commit -a -m "update"
_switch: _switch:
nixos-rebuild switch --flake . --use-remote-sudo nixos-rebuild switch --flake . --use-remote-sudo
push: push:
git push origin --all git push origin main
switch: commit _switch push switch: commit _switch push

View file

@ -22,17 +22,6 @@
nix-direnv.enable = true; nix-direnv.enable = true;
}; };
programs.firefox = lib.mkIf gui {
enable = true;
profiles.default = {
extensions = {
packages = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin bitwarden darkreader indie-wiki-buddy sponsorblock
];
};
};
};
programs.git = { programs.git = {
enable = true; enable = true;
userName = "alydev"; userName = "alydev";

View file

@ -4,14 +4,21 @@
laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; }; laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; };
}; };
fileSystems."/mnt/storage" = { fileSystems."/mnt/storage" = {
device = "aly@lan.aly.pet:/mnt/storage"; device = "aly@vpn.aly.pet:/mnt/storage";
fsType = "sshfs"; fsType = "sshfs";
options = ["nodev,noatime,allow_other,IdentityFile=/home/aly/.ssh/id_ed25519"]; options = ["nodev,noatime,allow_other,IdentityFile=/home/aly/.ssh/id_ed25519"];
}; };
programs.firefox = {
enable = true;
};
services.gnome = {
gnome-browser-connector.enable = true;
};
services.logind = { services.logind = {
lidSwitch = "suspend"; lidSwitch = "suspend";
lidSwitchDocked = "ignore"; lidSwitchDocked = "ignore";
lidSwitchExternalPower = "ignore"; lidSwitchExternalPower = "ignore";
powerKey = "ignore";
}; };
services.flatpak.enable = true; services.flatpak.enable = true;
services.flatpak.packages = [ services.flatpak.packages = [

View file

@ -15,7 +15,7 @@
services.cron = { services.cron = {
enable = true; enable = true;
systemCronJobs = [ systemCronJobs = [
"0 3 * * 0,2,4,6 /mnt/storage/media/randomintro.sh" "* * * * * /mnt/storage/media/randomintro.sh"
]; ];
}; };
system.stateVersion = "25.05"; system.stateVersion = "25.05";