mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 02:15:38 +00:00
use git safe mechanic to fix doas git issue
This commit is contained in:
parent
f2d01ec575
commit
01c5f09f41
3
Makefile
3
Makefile
@ -41,5 +41,4 @@ python: brews
|
|||||||
|
|
||||||
nix:
|
nix:
|
||||||
git add -A
|
git add -A
|
||||||
nixos-rebuild build --flake ".#desktop"
|
doas nixos-rebuild build --flake ".#desktop"
|
||||||
doas ./result/bin/switch-to-configuration switch
|
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
};
|
};
|
||||||
floating.modifier = modifier;
|
floating.modifier = modifier;
|
||||||
focus = {
|
focus = {
|
||||||
mouseWarping = true;
|
mouseWarping = false;
|
||||||
newWindow = "urgent";
|
newWindow = "urgent";
|
||||||
};
|
};
|
||||||
fonts = {
|
fonts = {
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
width = "100%";
|
width = "100%";
|
||||||
height = "22pt";
|
height = "22pt";
|
||||||
radius = 0;
|
radius = 0;
|
||||||
|
# offset-y = -5;
|
||||||
# offset-y = "5%";
|
# offset-y = "5%";
|
||||||
# dpi = 96;
|
# dpi = 96;
|
||||||
background = config.theme.colors.primary.background;
|
background = config.theme.colors.primary.background;
|
||||||
|
@ -4,6 +4,11 @@ let home-packages = config.home-manager.users.${identity.user}.home.packages;
|
|||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
home-manager.users.root.programs.git = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig.safe.directory = "/home/${identity.user}/dev/personal/dotfiles";
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.${identity.user} = {
|
home-manager.users.${identity.user} = {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -11,7 +16,7 @@ in {
|
|||||||
userEmail = identity.gitEmail;
|
userEmail = identity.gitEmail;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
pager = { branch = "false"; };
|
pager = { branch = "false"; };
|
||||||
safe = { directory = builtins.toString ../../.; };
|
safe = { directory = "/home/${identity.user}/dev/personal/dotfiles"; };
|
||||||
pull = { ff = "only"; };
|
pull = { ff = "only"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user