added home manager

This commit is contained in:
Steven Carpenter 2023-02-10 21:17:26 -05:00
parent bf2f48fbcc
commit d9b0288868
2 changed files with 21 additions and 10 deletions

View file

@ -1,8 +1,13 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs-wayland = {
url = "github:nix-community/nixpkgs-wayland";
# For Wayfire #
# nixpkgs-wayland = {
# url = "github:nix-community/nixpkgs-wayland";
# inputs.nixpkgs.follows = "nixpkgs";
# };
home-manager = {
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-generators = {
@ -10,7 +15,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixos-generators, nixpkgs, ... }@inputs:
outputs = { self, home-manager, nixos-generators, nixpkgs, ... }@inputs:
{
proxmox = nixos-generators.nixosGenerate {
system = "x86_64-linux";
@ -25,15 +30,19 @@
modules = [
./hosts/creatorforge.nix
./.modules/base/proxmox-vm-hardware.nix
({pkgs, config, ...}:{
config = {
environment.systemPackages = with pkgs; [
inputs.nixpkgs-wayland.packages.${system}.wayfire-unstable
];
};
})
];
};
};
homeManagerConfiguration = {
speccon18 = {
username = "speccon18";
homeDirectory = "/home/speccon18";
configuration = {
imports = [
./.hm-modules/home-manager.nix
];
};
};
};
};
}