mirror of
https://github.com/alyssadev/nixos.git
synced 2025-12-01 10:39:39 +10:00
Compare commits
8 commits
c29abd2cee
...
1742d0b4d5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1742d0b4d5 | ||
|
|
6824909dbe | ||
|
|
7e739005d7 | ||
|
|
5d8e51e3c4 | ||
|
|
5ee696e854 | ||
|
|
806f8c6087 | ||
|
|
2a7482b129 | ||
|
|
a1ac429505 |
3 changed files with 8 additions and 3 deletions
3
Justfile
3
Justfile
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,18 @@
|
||||||
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"];
|
||||||
};
|
};
|
||||||
|
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 = [
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue