Added git credentials store. (This is also a test push for it)
This commit is contained in:
@ -26,22 +26,25 @@
|
|||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = false;
|
systemd-boot.enable = false;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
#boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
|
|
||||||
grub = {
|
grub = {
|
||||||
enable = true;
|
enable = true;
|
||||||
device = "/dev/sda"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
|
device = "/dev/sda"; #Needs to be changed when using a new computer! (Make grub partition - look below!)
|
||||||
#devices = [ "nodev" ];
|
#devices = [ "nodev" ];
|
||||||
efiSupport = true;
|
efiSupport = true;
|
||||||
useOSProber = true;
|
useOSProber = true;
|
||||||
};
|
};
|
||||||
grub2-theme = {
|
|
||||||
enable = true;
|
grub2-theme = {
|
||||||
theme = "whitesur";
|
enable = true;
|
||||||
footer = true;
|
theme = "whitesur";
|
||||||
};
|
footer = true;
|
||||||
timeout = 10;
|
};
|
||||||
|
|
||||||
|
timeout = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
#Ensure there is a grub_bios partition: (gparted)
|
#Ensure there is a grub_bios partition: (gparted)
|
||||||
@ -81,22 +84,45 @@
|
|||||||
LC_TELEPHONE = "de_DE.UTF-8";
|
LC_TELEPHONE = "de_DE.UTF-8";
|
||||||
LC_TIME = "de_DE.UTF-8";
|
LC_TIME = "de_DE.UTF-8";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# List services that you want to enable:
|
||||||
|
services = {
|
||||||
|
ollama = {
|
||||||
|
enable = true;
|
||||||
|
# Optional: load models on startup
|
||||||
|
#loadModels = [ ... ];
|
||||||
|
};
|
||||||
|
|
||||||
services.ollama = {
|
locate = {
|
||||||
enable = true;
|
|
||||||
# Optional: load models on startup
|
|
||||||
#loadModels = [ ... ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.locate = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.plocate;
|
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; [
|
fonts.packages = with pkgs; [
|
||||||
font-awesome
|
font-awesome
|
||||||
@ -111,11 +137,6 @@
|
|||||||
# Configure console keymap
|
# Configure console keymap
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
|
||||||
services.printing.enable = true;
|
|
||||||
|
|
||||||
# # Enable sound with pipewire.
|
|
||||||
# services.pulseaudio.enable = false;
|
|
||||||
# security.rtkit.enable = true;
|
# security.rtkit.enable = true;
|
||||||
# services.pipewire = {
|
# services.pipewire = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
@ -146,6 +167,8 @@
|
|||||||
environment.etc."gitconfig".text = ''
|
environment.etc."gitconfig".text = ''
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[credentials]
|
||||||
|
helper = store --file /etc/git-credentials
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
@ -173,30 +196,8 @@
|
|||||||
# enableSSHSupport = true;
|
# 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 = {
|
environment.variables = {
|
||||||
EDITOR = "micro";
|
EDITOR = "nvim";
|
||||||
# XKB_DEFAULT_LAYOUT = "de";
|
# XKB_DEFAULT_LAYOUT = "de";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -71,7 +71,7 @@
|
|||||||
./configuration.nix
|
./configuration.nix
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
#./neovim.nix
|
./neovim.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
grub2-themes.nixosModules.default
|
grub2-themes.nixosModules.default
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|||||||
@ -7,11 +7,12 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
# ...
|
# ...
|
||||||
plugins = with pkgs.vimPlugins; [
|
#extraPackages = with pkgs.vimPlugins; [
|
||||||
|
#
|
||||||
LazyVim
|
# LazyVim
|
||||||
];
|
#];
|
||||||
|
|
||||||
#extraLuaConfig =
|
#extraLuaConfig =
|
||||||
## lua
|
## lua
|
||||||
|
|||||||
@ -5,7 +5,8 @@
|
|||||||
# Common commands
|
# Common commands
|
||||||
#-----
|
#-----
|
||||||
alias py="python3"
|
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!'"
|
alias srcals="source /etc/nixos/other/aliases && echo 'Sourced Aliases ... successful!'"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user