mirror of
https://github.com/alyssadev/nixos.git
synced 2025-12-01 10:39:39 +10:00
update
This commit is contained in:
parent
ad2ace1e99
commit
69fa5d2ee0
4 changed files with 11 additions and 14 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
|
||||
|
||||
|
|
|
|||
11
home/aly.nix
11
home/aly.nix
|
|
@ -22,17 +22,6 @@
|
|||
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 = {
|
||||
enable = true;
|
||||
userName = "alydev";
|
||||
|
|
|
|||
|
|
@ -4,14 +4,21 @@
|
|||
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"];
|
||||
};
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
};
|
||||
services.gnome = {
|
||||
gnome-browser-connector.enable = true;
|
||||
};
|
||||
services.logind = {
|
||||
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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue