tested nixos wsl stuff
This commit is contained in:
parent
a5d148c1d6
commit
535a3b1260
@ -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;
|
||||
}
|
||||
);
|
||||
|
20
home/deepak/home_no_gui.nix
Normal file
20
home/deepak/home_no_gui.nix
Normal 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";
|
||||
};
|
||||
|
||||
}
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -47,7 +47,6 @@ in
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget vim
|
||||
firefox
|
||||
git
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user