mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
direnv
This commit is contained in:
parent
82169a4c33
commit
7cb51dcf8d
4 changed files with 14 additions and 6 deletions
|
|
@ -1,6 +1,8 @@
|
|||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
programs = {
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
5
modules/users/crow/configs/zsh.nix
Normal file
5
modules/users/crow/configs/zsh.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
|
@ -26,8 +26,9 @@ in {
|
|||
./configs/waybar.nix
|
||||
./configs/tmux.nix
|
||||
./configs/git.nix
|
||||
./configs/direnv.nix
|
||||
./configs/ssh.nix
|
||||
./configs/zsh.nix
|
||||
./configs/direnv.nix
|
||||
];
|
||||
home = {
|
||||
username = "crow";
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
config,
|
||||
...
|
||||
}: {
|
||||
config.users.users.crow = lib.mkIf config.user.crow.enable {
|
||||
users.users.crow = lib.mkIf config.user.crow.enable {
|
||||
isNormalUser = true;
|
||||
initialPassword = "changeme";
|
||||
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
|
||||
|
|
@ -13,5 +13,5 @@
|
|||
];
|
||||
};
|
||||
|
||||
config.home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
|
||||
home-manager.users.crow = lib.mkIf config.user.crow.home.enable ./home.nix;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue