update
This commit is contained in:
parent
d1f89a624a
commit
48c62b1778
2 changed files with 109 additions and 110 deletions
42
flake.lock
42
flake.lock
|
@ -73,11 +73,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1635839387,
|
"lastModified": 1636520380,
|
||||||
"narHash": "sha256-2B6DqfTiwY5w2TljC4+AxEUuVYMTP5Fo2h5iGNIONvk=",
|
"narHash": "sha256-gBiQ8+AQG6Dia34rqJDuqs6VFe/J1SjIhOZBeTXCKQI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "288faaa5a65e72e37e6027024829b15c8bb69286",
|
"rev": "1e5c8e9bff00d0844bc3d25d1a98eab5633e600b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -110,11 +110,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1635449388,
|
"lastModified": 1636317251,
|
||||||
"narHash": "sha256-i7hMiAgpRTGsMPTQKuNCDfW/ftQ+g9N6iaMj+RN6yws=",
|
"narHash": "sha256-u1cWvvtGH5mfGkeIKrqw2usk4IL7wDiRcnJkUSiZq3Q=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "518b9c2159e7d4b7696ee18b8828f9086012923b",
|
"rev": "fd6f34afcf062761fb5035230f6297752bfedcba",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -139,11 +139,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-nixos-unstable": {
|
"nixpkgs-nixos-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1635844945,
|
"lastModified": 1636623366,
|
||||||
"narHash": "sha256-tZcL307dj28jgEU1Wdn+zwG9neyW0H2+ZjdVhvJxh9g=",
|
"narHash": "sha256-jOQMlv9qFSj0U66HB+ujZoapty0UbewmSNbX8+3ujUQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b67e752c29f18a0ca5534a07661366d6a2c2e649",
|
"rev": "c5ed8beb478a8ca035f033f659b60c89500a3034",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -155,11 +155,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1635933255,
|
"lastModified": 1636552551,
|
||||||
"narHash": "sha256-cR4jRaog5/o5U0No0wNVgokfJma9vuiZhtcu3CUcb1M=",
|
"narHash": "sha256-k7Hq/bvUnRlAfFjPGuw3FsSqqspQdRHsCHpgadw6UkQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2fd5c69fa6057870687a6589a8c95da955188f91",
|
"rev": "9e86f5f7a19db6da2445f07bafa6694b556f9c6d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -187,11 +187,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1625223284,
|
"lastModified": 1636228094,
|
||||||
"narHash": "sha256-jjLcDSU1rRiJb+n3uez23XAa7kbnPcGZTa6jIKh1GMQ=",
|
"narHash": "sha256-CpOcIwHAn3yS0PeVmUICFrJ+gde2PiZp3XsnDP3LE9w=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "357d2c8f6087685fe35cb1889a005a4dd4cce7b8",
|
"rev": "2606cb0fc24e65f489b7d9fdcbf219756e45db35",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -203,11 +203,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1636008211,
|
"lastModified": 1636746014,
|
||||||
"narHash": "sha256-kNy2aQ9uhJ9sXkQn+G90DsmSGgfk22lfSpqlm+CRBKw=",
|
"narHash": "sha256-6nhtR2uWfFaNmBqN82BYNi1zkB/i+01kMhzQc2gXBHc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "eed6ce5dd4e60583c5c673771caffa3d5425bfa7",
|
"rev": "130560604a6757b440c09e012375d28e31121ab3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -235,11 +235,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1633273832,
|
"lastModified": 1636497917,
|
||||||
"narHash": "sha256-oOjpMVYpkIUpiML61PeqTk+sg4juRvF7P6jroI/YvTw=",
|
"narHash": "sha256-8U0Tvot7U5KJ8vpn6xR611v7b441QdAQC04xhxjMHOc=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "2e86e1698d53e5bd71d9de5f8b7e8f2f5458633c",
|
"rev": "a8cbd0c796e4678f0fd2e59f274e49705ee523ed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
history = {
|
history = {
|
||||||
|
@ -10,93 +10,92 @@
|
||||||
expireDuplicatesFirst = true;
|
expireDuplicatesFirst = true;
|
||||||
share = true;
|
share = true;
|
||||||
};
|
};
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ "vi-mode" "git" "python" "history-substring-search" "tmux" ];
|
plugins = [ "vi-mode" "git" "python" "history-substring-search" "tmux" ];
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=238'
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=238'
|
||||||
setopt HIST_IGNORE_ALL_DUPS
|
setopt HIST_IGNORE_ALL_DUPS
|
||||||
'';
|
'';
|
||||||
profileExtra = ''
|
profileExtra = ''
|
||||||
export PATH="$HOME/programs:$PATH";
|
export PATH="$HOME/programs:$PATH";
|
||||||
export PATH="$HOME/tools:$PATH";
|
export PATH="$HOME/tools:$PATH";
|
||||||
export PATH="$HOME/bin:$PATH";
|
export PATH="$HOME/bin:$PATH";
|
||||||
export PATH="$HOME/.local/bin:$PATH";
|
export PATH="$HOME/.local/bin:$PATH";
|
||||||
export PATH="$GOPATH/bin:$PATH";
|
export PATH="$GOPATH/bin:$PATH";
|
||||||
export PATH="$HOME/.rvm/bin:$PATH";
|
export PATH="$HOME/.rvm/bin:$PATH";
|
||||||
export PATH="$HOME/.cargo/bin:$PATH";
|
export PATH="$HOME/.cargo/bin:$PATH";
|
||||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
|
||||||
'';
|
'';
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
[ -s "/home/cyryl/.jabba/jabba.sh" ] && source "/home/cyryl/.jabba/jabba.sh"
|
[ -s "/home/cyryl/.jabba/jabba.sh" ] && source "/home/cyryl/.jabba/jabba.sh"
|
||||||
tmux source-file ~/.config/tmux/tmux.conf
|
tmux source-file ~/.config/tmux/tmux.conf
|
||||||
local nixos_version=`which nixos-version`
|
local nixos_version=`which nixos-version`
|
||||||
if [[ ! -x "$nixos_version" ]]; then
|
if [[ ! -x "$nixos_version" ]]; then
|
||||||
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
|
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
|
||||||
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||||
echo "non-nixos patches loaded"
|
echo "non-nixos patches loaded"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
TERM="xterm-256color";
|
TERM="xterm-256color";
|
||||||
EDITOR="vim";
|
EDITOR="vim";
|
||||||
VISUAL="vim";
|
VISUAL="vim";
|
||||||
PAGER="less";
|
PAGER="less";
|
||||||
ZSH_TMUX_AUTOSTART=true;
|
ZSH_TMUX_AUTOSTART=true;
|
||||||
GOPATH="$HOME/go";
|
GOPATH="$HOME/go";
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
tmate = "tmux detach-client -E 'tmate;tmux'";
|
tmate = "tmux detach-client -E 'tmate;tmux'";
|
||||||
cat = "bat -p";
|
cat = "bat -p";
|
||||||
rg = "rga";
|
rg = "rga";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
nix-direnv = {
|
nix-direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFlakes= true;
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
home.file.".config/starship.toml".text =''
|
home.file.".config/starship.toml".text =''
|
||||||
[aws]
|
[aws]
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
[battery]
|
[battery]
|
||||||
full_symbol = ""
|
full_symbol = ""
|
||||||
charging_symbol = ""
|
charging_symbol = ""
|
||||||
discharging_symbol = ""
|
discharging_symbol = ""
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 10
|
threshold = 10
|
||||||
style = "bold red"
|
style = "bold red"
|
||||||
|
|
||||||
[[battery.display]]
|
[[battery.display]]
|
||||||
threshold = 30
|
threshold = 30
|
||||||
style = "bold yellow"
|
style = "bold yellow"
|
||||||
|
|
||||||
[memory_usage]
|
[memory_usage]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
symbol = "git "
|
symbol = "git "
|
||||||
|
|
||||||
[hg_branch]
|
[hg_branch]
|
||||||
symbol = "hg "
|
symbol = "hg "
|
||||||
|
|
||||||
[nix_shell]
|
[nix_shell]
|
||||||
symbol = "nix-shell "
|
symbol = "nix-shell "
|
||||||
'';
|
'';
|
||||||
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue