Update shell and topgrade settings
This commit is contained in:
parent
c2d0457e35
commit
eeb5ab85a5
42
flake.lock
generated
42
flake.lock
generated
@ -24,11 +24,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703415240,
|
"lastModified": 1703990467,
|
||||||
"narHash": "sha256-SgsAYwDo2wWHUdZeNKKRRT402sRzQ/rLmzxH/wqMUPw=",
|
"narHash": "sha256-LItEeQVwDfLnavNskwdfRnonbEdq8DYiJlWRtF+bwng=",
|
||||||
"owner": "LnL7",
|
"owner": "LnL7",
|
||||||
"repo": "nix-darwin",
|
"repo": "nix-darwin",
|
||||||
"rev": "f454cff5fe84adca9e8aa8d546d2c9879b789950",
|
"rev": "1a41453cba42a3a1af2fff003be455ddbd75386c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -61,11 +61,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703527373,
|
"lastModified": 1704100519,
|
||||||
"narHash": "sha256-AjypRssRtS6F3xkf7rE3/bXkIF2WJOZLbTIspjcE1zM=",
|
"narHash": "sha256-SgZC3cxquvwTN07vrYYT9ZkfvuhS5Y1k1F4+AMsuflc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "80679ea5074ab7190c4cce478c600057cfb5edae",
|
"rev": "6e91c5df192395753d8e6d55a0352109cb559790",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -93,11 +93,11 @@
|
|||||||
"homebrew-cask": {
|
"homebrew-cask": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703547671,
|
"lastModified": 1704154437,
|
||||||
"narHash": "sha256-SAIM3L14osK6+o+6JN9IOgSrVnccVb16SDrsv42PA4I=",
|
"narHash": "sha256-h6k9zJBrZgttWzbF6ppFL8ad1gka62MU5BRjTKihKRI=",
|
||||||
"owner": "homebrew",
|
"owner": "homebrew",
|
||||||
"repo": "homebrew-cask",
|
"repo": "homebrew-cask",
|
||||||
"rev": "b070519b8a647cc56b0366bca5b9312b6250114e",
|
"rev": "71121116defe7fc74389f85729b56ac5d2ed344c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -109,11 +109,11 @@
|
|||||||
"homebrew-cask-fonts": {
|
"homebrew-cask-fonts": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703448672,
|
"lastModified": 1704003358,
|
||||||
"narHash": "sha256-jn8QI4KYRKUzC58I3bqcSvFa3VZykcRx2mc7cstcRbA=",
|
"narHash": "sha256-gu7uOQQf3ISHB1RmaRu9i9ob05TYWss3h+7mPUuqCu8=",
|
||||||
"owner": "homebrew",
|
"owner": "homebrew",
|
||||||
"repo": "homebrew-cask-fonts",
|
"repo": "homebrew-cask-fonts",
|
||||||
"rev": "cc54a5c9f085c402d479431a26f86eb3f09c1e64",
|
"rev": "8524380dd27bf99f1ae85b079043ec33227cc93d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -125,11 +125,11 @@
|
|||||||
"homebrew-core": {
|
"homebrew-core": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703547454,
|
"lastModified": 1704152394,
|
||||||
"narHash": "sha256-RK8KVUpDjimoEwrwvUGnvQwd8bmE4R3Ep712yV7EmKQ=",
|
"narHash": "sha256-fMEWOMNPaViZlA3rE52qfDR1+t4cWAgL7QPlIg8eAFE=",
|
||||||
"owner": "homebrew",
|
"owner": "homebrew",
|
||||||
"repo": "homebrew-core",
|
"repo": "homebrew-core",
|
||||||
"rev": "d34d759d15682a975300ba8197823a6586aa10a6",
|
"rev": "042c7524bda45cb7363c816286928ab030b85df3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -195,11 +195,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703255338,
|
"lastModified": 1703637592,
|
||||||
"narHash": "sha256-Z6wfYJQKmDN9xciTwU3cOiOk+NElxdZwy/FiHctCzjU=",
|
"narHash": "sha256-8MXjxU0RfFfzl57Zy3OfXCITS0qWDNLzlBAdwxGZwfY=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6df37dc6a77654682fe9f071c62b4242b5342e04",
|
"rev": "cfc3698c31b1fb9cdcf10f36c9643460264d0ca8",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -240,11 +240,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703255338,
|
"lastModified": 1703961334,
|
||||||
"narHash": "sha256-Z6wfYJQKmDN9xciTwU3cOiOk+NElxdZwy/FiHctCzjU=",
|
"narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "6df37dc6a77654682fe9f071c62b4242b5342e04",
|
"rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
64
shared/config/starship-tokyo-night.toml
Normal file
64
shared/config/starship-tokyo-night.toml
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
format = """
|
||||||
|
[░▒▓](#a3aed2)\
|
||||||
|
[ ](bg:#a3aed2 fg:#090c0c)\
|
||||||
|
[](bg:#769ff0 fg:#a3aed2)\
|
||||||
|
$directory\
|
||||||
|
[](fg:#769ff0 bg:#394260)\
|
||||||
|
$git_branch\
|
||||||
|
$git_status\
|
||||||
|
[](fg:#394260 bg:#212736)\
|
||||||
|
$nodejs\
|
||||||
|
$rust\
|
||||||
|
$golang\
|
||||||
|
$php\
|
||||||
|
[](fg:#212736 bg:#1d2230)\
|
||||||
|
$time\
|
||||||
|
[ ](fg:#1d2230)\
|
||||||
|
\n$character"""
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
style = "fg:#e3e5e5 bg:#769ff0"
|
||||||
|
format = "[ $path ]($style)"
|
||||||
|
truncation_length = 3
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
|
[directory.substitutions]
|
||||||
|
"Documents" = " "
|
||||||
|
"Downloads" = " "
|
||||||
|
"Music" = " "
|
||||||
|
"Pictures" = " "
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#394260"
|
||||||
|
format = '[[ $symbol $branch ](fg:#769ff0 bg:#394260)]($style)'
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bg:#394260"
|
||||||
|
format = '[[($all_status$ahead_behind )](fg:#769ff0 bg:#394260)]($style)'
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[php]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#212736"
|
||||||
|
format = '[[ $symbol ($version) ](fg:#769ff0 bg:#212736)]($style)'
|
||||||
|
|
||||||
|
[time]
|
||||||
|
disabled = false
|
||||||
|
time_format = "%R" # Hour:Minute Format
|
||||||
|
style = "bg:#1d2230"
|
||||||
|
format = '[[ $time ](fg:#a0a9cb bg:#1d2230)]($style)'
|
@ -69,7 +69,7 @@ in
|
|||||||
kitty = {
|
kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font = {
|
font = {
|
||||||
name = "JetBrains Mono";
|
name = "JetBrainsMono Nerd Font";
|
||||||
size = 14;
|
size = 14;
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
@ -172,6 +172,31 @@ in
|
|||||||
starship = {
|
starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNushellIntegration = true;
|
enableNushellIntegration = true;
|
||||||
|
settings = (with builtins; fromTOML (readFile ./config/starship-tokyo-night.toml)) // {
|
||||||
|
# Overrides
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
topgrade = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
misc.disable = [
|
||||||
|
"brew_cask"
|
||||||
|
"brew_formula"
|
||||||
|
"containers"
|
||||||
|
"gem"
|
||||||
|
"node"
|
||||||
|
"ruby_gems"
|
||||||
|
"tlmgr"
|
||||||
|
"vim"
|
||||||
|
];
|
||||||
|
misc.assume_yes = true;
|
||||||
|
misc.cleanup = true;
|
||||||
|
misc.no_retry = true;
|
||||||
|
pre_commands = {
|
||||||
|
"Home Manager" = "nix flake update ~/nix-config/ && ~/nix-config/bin/build";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
zoxide = {
|
zoxide = {
|
||||||
|
@ -9,7 +9,6 @@ with pkgs; [
|
|||||||
pandoc
|
pandoc
|
||||||
tectonic
|
tectonic
|
||||||
texlab
|
texlab
|
||||||
topgrade
|
|
||||||
typst
|
typst
|
||||||
|
|
||||||
# Encryption and security tools
|
# Encryption and security tools
|
||||||
@ -24,6 +23,7 @@ with pkgs; [
|
|||||||
iosevka
|
iosevka
|
||||||
ibm-plex
|
ibm-plex
|
||||||
atkinson-hyperlegible
|
atkinson-hyperlegible
|
||||||
|
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
|
||||||
|
|
||||||
# C(++) development tools
|
# C(++) development tools
|
||||||
ccache
|
ccache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user