mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 12:40:13 +00:00
pass other values as arg
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{ pkgs, config, ... }: {
|
||||
{ pkgs, config, font, ... }: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@ -15,7 +15,7 @@
|
||||
scrolling.history = 10000;
|
||||
font = {
|
||||
size = 14.0;
|
||||
normal = { family = "${config.font}"; };
|
||||
normal = { family = font.name; };
|
||||
};
|
||||
key_bindings = [
|
||||
{
|
||||
|
@ -1 +1 @@
|
||||
{ pkgs, dotfiles, nixos_config ... }: { imports = [ ./fish.nix ]; }
|
||||
{ ... }: { imports = [ ./fish.nix ]; }
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
@ -25,8 +25,9 @@
|
||||
s = "sudo";
|
||||
sc = "systemctl";
|
||||
scs = "systemctl status";
|
||||
reb =
|
||||
"nixos-rebuild switch -I nixos-config=${config.nixos_config}/configuration.nix";
|
||||
reb = "nixos-rebuild switch -I nixos-config=${
|
||||
builtins.toString ../../nixos/.
|
||||
}/configuration.nix";
|
||||
|
||||
# Tmux
|
||||
ta = "tmux attach-session";
|
||||
@ -37,7 +38,7 @@
|
||||
v = "vim";
|
||||
vl = "vim -c 'normal! `0'";
|
||||
vll = "vim -c 'Telescope oldfiles'";
|
||||
vimrc = "vim ${config.dotfiles}/nvim.configlink/init.lua";
|
||||
vimrc = "vim ${builtins.toString ../../.}/nvim.configlink/init.lua";
|
||||
|
||||
# Notes
|
||||
qn = "quicknote";
|
||||
|
@ -1,12 +1,12 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, fullName, ... }: {
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "${config.fullName}";
|
||||
userName = fullName;
|
||||
userEmail = "7386960+nmasur@users.noreply.github.com";
|
||||
extraConfig = {
|
||||
pager = { branch = "false"; };
|
||||
safe = { directory = "${config.dotfiles}"; };
|
||||
safe = { directory = builtins.toString ../../.; };
|
||||
};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user