mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
build(system.nix): nix-collect-garbage typo, fastfetch initPropmt
This commit is contained in:
parent
b8fd8127bc
commit
b954c068fb
3 changed files with 11 additions and 12 deletions
18
flake.lock
generated
18
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743496612,
|
"lastModified": 1744224272,
|
||||||
"narHash": "sha256-emPWa5lmKbnyuj8c1mSJUkzJNT+iJoU9GMcXwjp2oVM=",
|
"narHash": "sha256-cqePj5nuC7flJWNncaVAFq1YZncU0PSyO0DEqGn+vYc=",
|
||||||
"owner": "lnl7",
|
"owner": "lnl7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "73d59580d01e9b9f957ba749f336a272869c42dd",
|
"rev": "113883e37d985d26ecb65282766e5719f2539103",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -22,11 +22,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743814133,
|
"lastModified": 1744157173,
|
||||||
"narHash": "sha256-drDyYyUmjeYGiHmwB9eOPTQRjmrq3Yz26knwmMPLZFk=",
|
"narHash": "sha256-bWSjxDwq7iVePrhmA7tY2dyMWHuNJo8knkO4y+q4ZkY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "250b695f41e0e2f5afbf15c6b12480de1fe0001b",
|
"rev": "6a39c6e495eefabc935d8ddf66aa45d85b85fa3f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -36,11 +36,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-darwin": {
|
"nixpkgs-darwin": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743814133,
|
"lastModified": 1744157173,
|
||||||
"narHash": "sha256-drDyYyUmjeYGiHmwB9eOPTQRjmrq3Yz26knwmMPLZFk=",
|
"narHash": "sha256-bWSjxDwq7iVePrhmA7tY2dyMWHuNJo8knkO4y+q4ZkY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "250b695f41e0e2f5afbf15c6b12480de1fe0001b",
|
"rev": "6a39c6e495eefabc935d8ddf66aa45d85b85fa3f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@
|
||||||
#
|
#
|
||||||
# Install all apps and packages here.
|
# Install all apps and packages here.
|
||||||
#
|
#
|
||||||
# TODO Fell free to modify this file to fit your needs.
|
|
||||||
#
|
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
# Install packages from nix's official package repository.
|
# Install packages from nix's official package repository.
|
||||||
|
|
|
||||||
|
|
@ -211,6 +211,7 @@
|
||||||
enableFzfGit = true;
|
enableFzfGit = true;
|
||||||
enableFzfHistory = true;
|
enableFzfHistory = true;
|
||||||
promptInit = ''
|
promptInit = ''
|
||||||
|
fastfetch
|
||||||
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
||||||
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
||||||
'';
|
'';
|
||||||
|
|
@ -231,7 +232,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";
|
nixupgrade = "cd ~/.config/nix-darwin && nix flake update && nix-collect-garbage";
|
||||||
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