mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat(system.nix): nixupgrade alias
This commit is contained in:
parent
0ce9764609
commit
07998bd479
2 changed files with 7 additions and 6 deletions
12
flake.lock
generated
12
flake.lock
generated
|
|
@ -22,11 +22,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743568003,
|
"lastModified": 1743814133,
|
||||||
"narHash": "sha256-ZID5T65E8ruHqWRcdvZLsczWDOAWIE7om+vQOREwiX0=",
|
"narHash": "sha256-drDyYyUmjeYGiHmwB9eOPTQRjmrq3Yz26knwmMPLZFk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b7ba7f9f45c5cd0d8625e9e217c28f8eb6a19a76",
|
"rev": "250b695f41e0e2f5afbf15c6b12480de1fe0001b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -36,11 +36,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-darwin": {
|
"nixpkgs-darwin": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743568003,
|
"lastModified": 1743814133,
|
||||||
"narHash": "sha256-ZID5T65E8ruHqWRcdvZLsczWDOAWIE7om+vQOREwiX0=",
|
"narHash": "sha256-drDyYyUmjeYGiHmwB9eOPTQRjmrq3Yz26knwmMPLZFk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b7ba7f9f45c5cd0d8625e9e217c28f8eb6a19a76",
|
"rev": "250b695f41e0e2f5afbf15c6b12480de1fe0001b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -229,6 +229,7 @@
|
||||||
cat = "bat --color=always";
|
cat = "bat --color=always";
|
||||||
man = "tldr";
|
man = "tldr";
|
||||||
nixrebuild = "darwin-rebuild switch --flake ~/.config/nix-darwin";
|
nixrebuild = "darwin-rebuild switch --flake ~/.config/nix-darwin";
|
||||||
|
nixupgrade = "cd ~/.config/nix-darwin && nix flake update && nix-garbage-collect";
|
||||||
nixconfig = "code ~/.config/nix-darwin";
|
nixconfig = "code ~/.config/nix-darwin";
|
||||||
sshconfig = "code ~/.ssh/config";
|
sshconfig = "code ~/.ssh/config";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue