tested nixos wsl stuff

This commit is contained in:
Deepak Mallubhotla 2022-03-29 08:55:18 -05:00
parent a5d148c1d6
commit 535a3b1260
4 changed files with 23 additions and 3 deletions

View File

@ -13,9 +13,10 @@
outputs = { self, nixpkgs, homeManager, ...}@inputs: {
nixosConfigurations = (
import ./hosts.nix {
import ./hosts/hosts.nix {
inherit nixpkgs;
inherit homeManager;
inherit inputs;
inherit (nixpkgs) lib;
}
);

View File

@ -0,0 +1,20 @@
{ pkgs, config, ...}: {
programs.home-manager.enable = true;
home.packages = [
pkgs.hello
(pkgs.writeScriptBin "nixFlakes" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
];
home.homeDirectory = "/home/deepak";
home.username = "deepak";
programs.git = {
enable = true;
userName = "Deepak Mallubhotla";
userEmail = "dmallubhotla+github@gmail.com";
};
}

View File

@ -20,7 +20,7 @@
homeManager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.users.deepak = {
imports = [ ../home/deepak/home.nix ];
imports = [ ../home/deepak/home_no_gui.nix ];
};
}
];

View File

@ -47,7 +47,6 @@ in
# $ nix search wget
environment.systemPackages = with pkgs; [
wget vim
firefox
git
];