add modules for zsh and git
This commit is contained in:
parent
c905e17300
commit
b08b6a3fdc
5 changed files with 25 additions and 6 deletions
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
./quickshell.nix
|
||||
./nixcord.nix
|
||||
./mango.nix
|
||||
|
||||
./zsh.nix
|
||||
./git.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
10
modules/programs/git.nix
Normal 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
10
modules/programs/zsh.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue