diff --git a/nixpkgs/machines/wsl/config.nix b/nixpkgs/machines/wsl/config.nix new file mode 100644 index 0000000..1dd1750 --- /dev/null +++ b/nixpkgs/machines/wsl/config.nix @@ -0,0 +1,3 @@ +{ + allowUnfree = true; +} diff --git a/nixpkgs/machines/wsl/home.nix b/nixpkgs/machines/wsl/home.nix new file mode 100644 index 0000000..124e742 --- /dev/null +++ b/nixpkgs/machines/wsl/home.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ../../modules/home-manager.nix + ../../modules/git.nix + ../../modules/zsh.nix + ]; + + home.packages = with pkgs; [ + neofetch + pfetch + fortune + ]; + + programs.zsh.shellAliases = { + code = "/mnt/c/Program\\ Files/Microsoft\\ VS\\ Code/Code.exe"; + }; + +} \ No newline at end of file