restructure
This commit is contained in:
40
users/anon.nix
Normal file
40
users/anon.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [ ./home-manager/nvim.nix ];
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
headless = false;
|
||||
};
|
||||
useUserPackages = true;
|
||||
users.anon = {
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableAutosuggestions = true;
|
||||
shellAliases = {
|
||||
ll = "ls -l";
|
||||
update = "sudo nixos-rebuild switch";
|
||||
};
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" ];
|
||||
theme = "eastwood";
|
||||
};
|
||||
};
|
||||
home.stateVersion = "23.05";
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
users.users.anon = {
|
||||
isNormalUser = true;
|
||||
description = "anon";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "networkmanager" "wheel" "docker" ];
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user