add icecube and git config
This commit is contained in:
parent
e767060559
commit
8a9b1f2529
8 changed files with 70 additions and 30 deletions
12
hosts/icecube/home.nix
Normal file
12
hosts/icecube/home.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }: {
|
||||
home.stateVersion = "24.05";
|
||||
home.username = "jonathan";
|
||||
home.homeDirectory = "/home/jonathan";
|
||||
|
||||
imports = [
|
||||
../../programs/nvim
|
||||
../../programs/zsh
|
||||
../../programs/tmux
|
||||
../../programs/git
|
||||
];
|
||||
}
|
||||
|
|
@ -9,16 +9,17 @@
|
|||
../../programs/kanata
|
||||
../../programs/kitty
|
||||
../../programs/tmux
|
||||
../../programs/git
|
||||
];
|
||||
|
||||
# use the system-installed version of kitty on arch
|
||||
# something graphics related crashes otherwise
|
||||
programs.kitty.package = pkgs.stdenv.mkDerivation {
|
||||
name = "kitty";
|
||||
src = ./.;
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
echo "#!/usr/bin/env bash\nexec /usr/bin/kitty" > $out/bin/kitty;
|
||||
'';
|
||||
name = "kitty";
|
||||
src = ./.;
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
echo "#!/usr/bin/env bash\nexec /usr/bin/kitty" > $out/bin/kitty;
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,10 +2,11 @@
|
|||
home.stateVersion = "24.05";
|
||||
home.username = "jonathan";
|
||||
home.homeDirectory = "/home/jonathan";
|
||||
imports = [
|
||||
imports = [
|
||||
../../programs/gnome
|
||||
../../programs/nvim
|
||||
../../programs/zsh
|
||||
../../programs/git
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
@ -41,20 +42,4 @@
|
|||
programs.firefox = { enable = true; };
|
||||
|
||||
services.syncthing = { enable = true; };
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
pull.rebase = false;
|
||||
# merge.tool = "meld";
|
||||
# mergetool.meld.cmd = ''
|
||||
# ${pkgs.meld}/bin/meld "$LOCAL" "$BASE" "$REMOTE" --output "$MERGED"
|
||||
# '';
|
||||
push = { autoSetupRemote = true; };
|
||||
};
|
||||
aliases = { amend = "commit --amend"; };
|
||||
userName = "Jonathan Dönszelmann";
|
||||
userEmail = "jonathan@donsz.nl";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue