Added git credentials store. (This is also a test push for it)

This commit is contained in:
2025-08-28 15:37:42 +02:00
parent 5ef38501e4
commit 5497c5a7ae
4 changed files with 64 additions and 61 deletions

View File

@ -26,22 +26,25 @@
# Bootloader.
boot.loader = {
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
systemd-boot.enable = false;
efi.canTouchEfiVariables = true;
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
grub = {
enable = true;
device = "/dev/sda"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
};
grub2-theme = {
enable = true;
theme = "whitesur";
footer = true;
};
timeout = 10;
enable = true;
device = "/dev/sda"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
#devices = [ "nodev" ];
efiSupport = true;
useOSProber = true;
};
grub2-theme = {
enable = true;
theme = "whitesur";
footer = true;
};
timeout = 10;
};
#Ensure there is a grub_bios partition: (gparted)
@ -82,21 +85,44 @@
LC_TIME = "de_DE.UTF-8";
};
services.ollama = {
enable = true;
# Optional: load models on startup
#loadModels = [ ... ];
};
# List services that you want to enable:
services = {
ollama = {
enable = true;
# Optional: load models on startup
#loadModels = [ ... ];
};
services.locate = {
locate = {
enable = true;
package = pkgs.plocate;
#To get rid of warning
#Depricated:
#localuser = null;
};
};
services.tailscale.enable = true;
tailscale.enable = true;
#Enable CUPS to print documents.
printing.enable = true;
xserver = {
enable = true;
xkb = {
layout = "de";
variant = "";
};
## Enable sound with pipewire.
#services.pulseaudio.enable = false;
};
displayManager.sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
};
# Enable the OpenSSH daemon.
openssh.enable = true;
};
fonts.packages = with pkgs; [
font-awesome
@ -111,11 +137,6 @@
# Configure console keymap
console.keyMap = "de";
# Enable CUPS to print documents.
services.printing.enable = true;
# # Enable sound with pipewire.
# services.pulseaudio.enable = false;
# security.rtkit.enable = true;
# services.pipewire = {
# enable = true;
@ -146,6 +167,8 @@
environment.etc."gitconfig".text = ''
[init]
defaultBranch = main
[credentials]
helper = store --file /etc/git-credentials
'';
@ -173,30 +196,8 @@
# enableSSHSupport = true;
# };
services = {
xserver = {
enable = true;
xkb = {
layout = "de";
variant = "";
};
};
displayManager.sddm = {
enable = true;
theme = "breeze";
wayland.enable = true;
};
};
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;
environment.variables = {
EDITOR = "micro";
EDITOR = "nvim";
# XKB_DEFAULT_LAYOUT = "de";
};

View File

@ -71,7 +71,7 @@
./configuration.nix
./firefox.nix
./zsh.nix
#./neovim.nix
./neovim.nix
./packages.nix
grub2-themes.nixosModules.default
home-manager.nixosModules.home-manager

View File

@ -7,11 +7,12 @@
];
programs.neovim = {
enable = true;
# ...
plugins = with pkgs.vimPlugins; [
LazyVim
];
#extraPackages = with pkgs.vimPlugins; [
#
# LazyVim
#];
#extraLuaConfig =
## lua

View File

@ -5,7 +5,8 @@
# Common commands
#-----
alias py="python3"
alias mcrow="sudo micro"
#alias mcrow="sudo micro"
alias mcrow="echo 'you better try to use nvim you little shit! :3'"
alias srcals="source /etc/nixos/other/aliases && echo 'Sourced Aliases ... successful!'"