This repo contains configurations for my different machines. This includes home-manager
configs,
as well as NixOS configs.
Clone this repo to ~/.config/home-manager
.
Currently only using this for my wsl box (pokke-village). Set up by having /etc/nixos/flake.nix
point to the home manager flake:
{
description = "Just a wrapper around my core config.";
inputs = {
hm-flake.url = "git+file:/home/untio11/.config/home-manager";
};
outputs = { hm-flake, ... }: let
hostName = "pokke-village";
in {
nixosConfigurations.${hostName} = hm-flake.nixosConfigurations.${hostName};
};
}
NOTE: To build a new NixOS generation:
- Update the
nixos-wsl.nix
profile in thehome-manager
flake. - Commit the changes.
- Update the flake in
/etc/nixos
. sudo nixos-rebuild switch