Configure git

This commit is contained in:
2026-02-26 21:04:54 +01:00
parent 8c2c715aa3
commit 6903724321
4 changed files with 54 additions and 17 deletions

View File

@@ -49,15 +49,6 @@
# Configure console keymap
console.keyMap = "de-latin1";
# Define a user account. Don't forget to set a password with passwd.
users.users.nichkara = {
isNormalUser = true;
description = "Nina Chloé Kassandra";
extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp"];
packages = with pkgs; [];
shell = pkgs.zsh;
};
environment.systemPackages = with pkgs; [
wget
networkmanager

View File

@@ -1,4 +1,11 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "96f9ca03450049baffbc8a2b71c3a40367edd2a5";
sha256 = lib.fakeSha256;
};
in
{
environment.systemPackages = with pkgs; [
wofi
@@ -18,4 +25,11 @@
xwayland.enable = true;
};
home-manager.users.nichkara = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;
};
};
}

View File

@@ -3,11 +3,42 @@
let
in
{
imports =
[
<home-manager/nixos>
./desktop-environment/config.nix
./terminal-environment/config.nix
./system-environment/config.nix
users.users.nichkara = {
isNormalUser = true;
description = "Nina Chloé Kassandra";
extraGroups = [ "networkmanager" "wheel" "docker" "scanner" "lp"];
packages = with pkgs; [];
shell = pkgs.zsh;
};
home-manager.users.nichkara = { pkgs, ... }: {
home.stateVersion = "25.11";
programs.git = {
enable = true;
settings = {
user = {
name = "Nina Chloé Kassandra Reiß";
email = "nina.reiss@nickr.eu";
};
push = {
autoSetupRemote = true;
};
gpg = {
format = "ssh";
};
};
signing = {
signByDefault = true;
key = "";
};
};
};
imports = [
<home-manager/nixos>
./desktop-environment/config.nix
./terminal-environment/config.nix
./system-environment/config.nix
];
}

View File

@@ -1,14 +1,15 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
vim
neovim
astyle
python313Packages.pynvim
git
hyfetch
fzf
fzf-zsh
ripgrep
ripgrep-all
];