Compare commits

...

3 Commits

Author SHA1 Message Date
Alyxia Sother 55abee0819
[nix] Set up the gh cli 2023-06-12 12:45:09 +02:00
Alyxia Sother 9862870669
[nix] Add some more git configuration 2023-06-12 12:24:26 +02:00
Alyxia Sother 4890ae1737
[nix] Set nvim as the EDITOR 2023-06-12 12:21:31 +02:00
2 changed files with 26 additions and 3 deletions

View File

@ -1,6 +1,8 @@
{ pkgs, lib, dotfiles, ... }:
let
textEditor = "nvim";
packageSets = with pkgs; rec {
system = [
gnutls
@ -130,6 +132,9 @@ in
home = {
packages = packageSets.everything;
sessionVariables = {
EDITOR = textEditor;
};
file.".npmrc".text = ''
prefix = ''${HOME}/.npm-packages

View File

@ -1,4 +1,4 @@
{ pkgs, dotfiles, ... }:
{ pkgs, ... }:
{
programs.git = {
@ -7,13 +7,31 @@
userName = "Alyxia Sother";
userEmail = "alyxia@riseup.net";
signing = {
key = "01E16C4E775A37E4";
signByDefault = true;
};
delta.enable = true;
delta = {
enable = true;
options = {
line-numbers = true;
features = "decorations";
syntax-theme = "ansi";
};
};
extraConfig = {
init.defaultBranch = "master";
};
};
programs.gh = {
enable = true;
# Why the *fuck* are these packages as opposed to GitHub links???
extensions = with pkgs; [
gh-actions-cache
];
};
programs.gitui.enable = true;