1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

refactor: move full neovim config to only myuser

This commit is contained in:
oddlama 2023-09-04 16:43:57 +02:00
parent 4c377b260e
commit 14329a9a5d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
22 changed files with 23 additions and 40 deletions

View file

@ -16,9 +16,7 @@ in {
inherit (config.repo.secrets.global.myuser) hashedPassword;
createHome = true;
group = myuser;
extraGroups =
["wheel" "input" "video"]
++ lib.optionals config.sound.enable ["audio"];
extraGroups = ["wheel" "input" "video"];
isNormalUser = true;
autoSubUidGidRange = false;
shell = pkgs.zsh;
@ -69,6 +67,7 @@ in {
imports = [
../common
./graphical
./neovim
./dev.nix
./gpg.nix
@ -78,11 +77,6 @@ in {
home = {
inherit (config.users.users.${myuser}) uid;
username = config.users.users.${myuser}.name;
# TODO this shall be moved!
shellAliases = {
p = "cd ~/projects";
zf = "zathura --fork";
};
};
};
}