mirror of
https://github.com/alyssadev/nixos.git
synced 2025-12-01 10:39:39 +10:00
Compare commits
6 commits
1742d0b4d5
...
c29abd2cee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c29abd2cee | ||
|
|
23a3f595f1 | ||
|
|
ff1e5205fc | ||
|
|
b067a85b19 | ||
|
|
bdb85b5df4 | ||
|
|
69fa5d2ee0 |
5 changed files with 15 additions and 6 deletions
3
Justfile
3
Justfile
|
|
@ -9,13 +9,14 @@ boot:
|
|||
|
||||
commit:
|
||||
git add .
|
||||
-git pull origin main
|
||||
-git commit -a -m "update"
|
||||
|
||||
_switch:
|
||||
nixos-rebuild switch --flake . --use-remote-sudo
|
||||
|
||||
push:
|
||||
git push origin --all
|
||||
git push origin main
|
||||
|
||||
switch: commit _switch push
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs.gui = true;
|
||||
home-manager.users.aly = import ./home/aly.nix;
|
||||
home-manager.backupFileExtension = "bak";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
laptop = { config = '' config /home/aly/.secrets/laptop.ovpn ''; };
|
||||
};
|
||||
fileSystems."/mnt/storage" = {
|
||||
device = "aly@lan.aly.pet:/mnt/storage";
|
||||
device = "aly@vpn.aly.pet:/mnt/storage";
|
||||
fsType = "sshfs";
|
||||
options = ["nodev,noatime,allow_other,IdentityFile=/home/aly/.ssh/id_ed25519"];
|
||||
};
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
lidSwitch = "suspend";
|
||||
lidSwitchDocked = "ignore";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
powerKey = "ignore";
|
||||
};
|
||||
services.flatpak.enable = true;
|
||||
services.flatpak.packages = [
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"0 3 * * 0,2,4,6 /mnt/storage/media/randomintro.sh"
|
||||
"* * * * * /mnt/storage/media/randomintro.sh"
|
||||
];
|
||||
};
|
||||
system.stateVersion = "25.05";
|
||||
|
|
|
|||
|
|
@ -4,10 +4,16 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
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.defaultEditor = true;
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
plugins.lsp = {
|
||||
enable = true;
|
||||
servers.nixd.enable = true;
|
||||
};
|
||||
};
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue