docs: add README.md

This commit is contained in:
dachxy 2025-01-03 13:59:16 +08:00
parent fe1d9adfa8
commit 1c2b263904
19 changed files with 241 additions and 73 deletions

View file

@ -23,7 +23,6 @@
NIXOS_XDG_OPEN_USE_PORTAL = "1";
XDG_CACHE_HOME = "\${HOME}/.cache";
XDG_CONFIG_HOME = "\${HOME}/.config";
#XDG_BIN_HOME = "\${HOME}/.local/bin";
XDG_DATA_HOME = "\${HOME}/.local/share";
GTK_IM_MODULE = "";
XDG_DATA_DIRS = "\${XDG_DATA_DIRS}:/usr/share:/var/lib/flatpak/exports/share:\${HOME}/.local/share/flatpak/exports/share";

View file

@ -1,6 +1,7 @@
{ git-config }:
let
userName = "dachxy";
email = "Danny10132024@gmail.com";
userName = git-config.username;
email = git-config.email;
in
{
programs.git = {

View file

@ -4,19 +4,16 @@ let
in
{
programs = {
# nushell = {
# enable = true;
# configFile.source = ../config/nushell/config.nu;
# envFile.source = ../config/nushell/env.nu;
# };
fish = {
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
'';
plugins = [
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
{
name = "grc";
src = pkgs.fishPlugins.grc.src;
}
];
shellAliases = shellAlias;
};

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
services.swaync = {
enable = true;