Merge branch 'master' of https://github.com/Guanran928/flake
This commit is contained in:
commit
0ee19f299b
6 changed files with 18 additions and 11 deletions
|
@ -2,6 +2,6 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./guanranwang.nix
|
./normal-users/guanranwang.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -1,10 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
users.users.guanranwang = {
|
|
||||||
createHome = true;
|
|
||||||
description = "Guanran Wang";
|
|
||||||
home = "/Users/guanranwang";
|
|
||||||
shell = pkgs.fish;
|
|
||||||
};
|
|
||||||
}
|
|
14
flakes/darwin/users/normal-users/guanranwang.nix
Normal file
14
flakes/darwin/users/normal-users/guanranwang.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
users = {
|
||||||
|
knownUsers = [ "guanranwang" ];
|
||||||
|
users."guanranwang" = {
|
||||||
|
createHome = true;
|
||||||
|
description = "Guanran Wang";
|
||||||
|
home = "/Users/guanranwang";
|
||||||
|
shell = pkgs.fish;
|
||||||
|
uid = 501;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -68,6 +68,7 @@
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
source ${config.xdg.configHome}/zsh/plugins/sudo/sudo.plugin.zsh
|
source ${config.xdg.configHome}/zsh/plugins/sudo/sudo.plugin.zsh
|
||||||
source ${config.xdg.configHome}/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh
|
source ${config.xdg.configHome}/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh
|
||||||
|
zstyle ':fzf-tab:*' fzf-command sk
|
||||||
'';
|
'';
|
||||||
history = {
|
history = {
|
||||||
path = "${config.xdg.configHome}/zsh/.zsh_history";
|
path = "${config.xdg.configHome}/zsh/.zsh_history";
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
yt-dlp
|
yt-dlp
|
||||||
aria2
|
aria2
|
||||||
android-tools
|
android-tools
|
||||||
|
skim
|
||||||
|
|
||||||
spotify
|
spotify
|
||||||
spicetify-cli
|
spicetify-cli
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
fastfetch
|
fastfetch
|
||||||
wget
|
wget
|
||||||
sops
|
sops
|
||||||
|
skim
|
||||||
zoxide # rs
|
zoxide # rs
|
||||||
trashy
|
trashy
|
||||||
eza
|
eza
|
||||||
|
|
Loading…
Reference in a new issue