This commit is contained in:
Guanran Wang 2023-09-27 13:26:54 +08:00
commit 0ee19f299b
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
6 changed files with 18 additions and 11 deletions

View file

@ -2,6 +2,6 @@
{ {
imports = [ imports = [
./guanranwang.nix ./normal-users/guanranwang.nix
]; ];
} }

View file

@ -1,10 +0,0 @@
{ pkgs, ... }:
{
users.users.guanranwang = {
createHome = true;
description = "Guanran Wang";
home = "/Users/guanranwang";
shell = pkgs.fish;
};
}

View file

@ -0,0 +1,14 @@
{ pkgs, ... }:
{
users = {
knownUsers = [ "guanranwang" ];
users."guanranwang" = {
createHome = true;
description = "Guanran Wang";
home = "/Users/guanranwang";
shell = pkgs.fish;
uid = 501;
};
};
}

View file

@ -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";

View file

@ -51,6 +51,7 @@
yt-dlp yt-dlp
aria2 aria2
android-tools android-tools
skim
spotify spotify
spicetify-cli spicetify-cli

View file

@ -61,6 +61,7 @@
fastfetch fastfetch
wget wget
sops sops
skim
zoxide # rs zoxide # rs
trashy trashy
eza eza