Compare commits

...

6 commits

Author SHA1 Message Date
alydev
c29abd2cee update
Some checks failed
/ Check (push) Has been cancelled
2025-10-21 16:45:09 +10:00
alydev
23a3f595f1 update 2025-10-21 16:34:28 +10:00
alydev
ff1e5205fc update 2025-10-21 16:32:07 +10:00
alydev
b067a85b19 update 2025-10-21 16:31:12 +10:00
alydev
bdb85b5df4 revert 2025-10-21 16:26:35 +10:00
alydev
69fa5d2ee0 update 2025-10-21 16:23:10 +10:00
5 changed files with 15 additions and 6 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

@ -48,6 +48,7 @@
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs.gui = true; home-manager.extraSpecialArgs.gui = true;
home-manager.users.aly = import ./home/aly.nix; home-manager.users.aly = import ./home/aly.nix;
home-manager.backupFileExtension = "bak";
} }
]; ];
}; };

View file

@ -4,7 +4,7 @@
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"];
}; };
@ -12,6 +12,7 @@
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";

View file

@ -4,10 +4,16 @@
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cargo rustc just git wget gcc gnumake autoconf automake pkg-config cifs-utils ntfs3g cargo rustc just git wget gcc gnumake autoconf automake pkg-config cifs-utils ntfs3g nixd
]; ];
programs.nixvim.enable = true; programs.nixvim = {
programs.nixvim.defaultEditor = true; enable = true;
defaultEditor = true;
plugins.lsp = {
enable = true;
servers.nixd.enable = true;
};
};
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
networking.networkmanager.enable = true; networking.networkmanager.enable = true;