add modules for zsh and git

This commit is contained in:
lucy 2026-09-04 11:19:57 +02:00
commit b08b6a3fdc
5 changed files with 25 additions and 6 deletions

View file

@ -29,9 +29,6 @@
services.displayManager.gdm.enable = true;
programs.starship.enable = true;
programs.mango.enable = true;
programs.niri = {
enable = true;
};
services.upower.enable = true;
services.xserver.xkb.layout = "us";
services.pipewire = {
@ -40,11 +37,12 @@
pulse.enable = true;
};
security.rtkit.enable = true;
environment.pathsToLink = [ "/share/zsh" ];
nixpkgs.config.allowUnfree = true;
users.users.lucy = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.zsh;
packages = [
inputs.helium.packages.${pkgs.stdenv.hostPlatform.system}.default
];

View file

@ -8,6 +8,7 @@
./quickshell.nix
./nixcord.nix
./mango.nix
./zsh.nix
./git.nix
];
}

View file

@ -38,7 +38,7 @@
(use-package qml-mode)
(use-package lua-mode)
(use-package elcord :init (elcord-mode))
(setq inhibit-splash-screen 1)
(setq initial-buffer-choice "~/")
(add-to-list
'display-buffer-alist
'("\\*compilation\\*" (display-buffer-reuse-window

10
modules/programs/git.nix Normal file
View file

@ -0,0 +1,10 @@
{
programs.git = {
enable = true;
settings = {
user.name = "lucy";
user.email = "lucykaufmann@protonmail.com";
init.defaultBranch = "main";
};
};
}

10
modules/programs/zsh.nix Normal file
View file

@ -0,0 +1,10 @@
{
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
oh-my-zsh.enable = true;
oh-my-zsh.theme = "gentoo";
};
}