remove dedicated env module
This commit is contained in:
parent
56bcece8c1
commit
faa530f54f
3 changed files with 12 additions and 11 deletions
|
|
@ -20,11 +20,16 @@
|
||||||
../../modules/fonts.nix
|
../../modules/fonts.nix
|
||||||
../../modules/aerospace.nix
|
../../modules/aerospace.nix
|
||||||
../../modules/peripheral/home.nix
|
../../modules/peripheral/home.nix
|
||||||
../../modules/env.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
|
||||||
# Firefox configuration
|
# Firefox configuration
|
||||||
programs.firefox-custom = {
|
programs.firefox-custom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
../../modules/rsync.nix
|
../../modules/rsync.nix
|
||||||
../../modules/btop.nix
|
../../modules/btop.nix
|
||||||
../../modules/fonts.nix
|
../../modules/fonts.nix
|
||||||
../../modules/env.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.username = "yanlin";
|
home.username = "yanlin";
|
||||||
|
|
@ -22,6 +21,12 @@
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
silent = true;
|
||||||
|
};
|
||||||
|
|
||||||
# nixOS-specific alias
|
# nixOS-specific alias
|
||||||
programs.zsh.shellAliases = {
|
programs.zsh.shellAliases = {
|
||||||
oss = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
|
oss = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
programs.direnv = {
|
|
||||||
enable = true;
|
|
||||||
nix-direnv.enable = true;
|
|
||||||
silent = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue