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 = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
nixpkgs-wayland = { # For Wayfire #
url = "github:nix-community/nixpkgs-wayland"; # 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"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixos-generators = { nixos-generators = {
@ -10,7 +15,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = { self, nixos-generators, nixpkgs, ... }@inputs: outputs = { self, home-manager, nixos-generators, nixpkgs, ... }@inputs:
{ {
proxmox = nixos-generators.nixosGenerate { proxmox = nixos-generators.nixosGenerate {
system = "x86_64-linux"; system = "x86_64-linux";
@ -25,15 +30,19 @@
modules = [ modules = [
./hosts/creatorforge.nix ./hosts/creatorforge.nix
./.modules/base/proxmox-vm-hardware.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
];
};
};
};
}; };
} }

View file

@ -38,6 +38,8 @@
tailscale tailscale
firefox firefox
vscodium-fhs vscodium-fhs
alacritty
starship
# Gnome Extensions # Gnome Extensions
gnomeExtensions.dock-from-dash gnomeExtensions.dock-from-dash
gnomeExtensions.pop-shell gnomeExtensions.pop-shell