Initial commit of NixOS config

This commit is contained in:
2025-08-07 14:04:06 +02:00
commit 3255b199db
24 changed files with 996 additions and 0 deletions

29
zsh.nix Normal file
View File

@ -0,0 +1,29 @@
{ config, pkgs, ... }: {
programs.zsh = {
enable = true;
ohMyZsh = {
enable = true;
plugins = [ "git" ];
};
shellInit = ''
source /etc/nixos/other/aliases
source /etc/nixos/other/theme-reminder.sh
'';
promptInit = ''
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
'';
};
users.users.cookiez.shell = pkgs.zsh;
environment.systemPackages = [
pkgs.oh-my-zsh
pkgs.zsh
pkgs.zsh-completions
pkgs.zsh-powerlevel10k
pkgs.zsh-syntax-highlighting
pkgs.zsh-autocomplete
];
}