greyweather 06e958ae71 fix problems rebuilding, make niri and noctalia more HM friendly
added `inputs` to `extraSpecialArgs`, giving homeModules access to helper functions
cleaned up the logic for the stylix file, removing the final `sharedModules` in the process in favour of `home-manager.users.grey`
2026-08-30 00:31:13 +01:00
2026-07-02 19:57:24 +01:00
2026-07-09 02:26:19 +01:00

installation

first, you must edit /etc/nixos/configuration.nix to include the following:

{
  config,
  pkgs,
  ...
}: {
  imports = [
    <...>
  ];

  nix.settings.experimental-features = [
    "nix-command"
    "flakes"
  ];

  <...>

  networking.hostname = "<hostname>";

  <...>

  environment.systemPackages = with pkgs; [
    git
  ];
}

then, run sudo nixos-rebuild switch once to apply those changes.

reboot, to make sure that everything applied properly.

make sure to cp /etc/nixos/hardware-configuration ~/nixos/hosts/<hostname> to apply the generated hardware config for your system

finally, run sudo nixos-rebuild switch --flake /home/grey/nixos#<hostname> to apply the flake.

reboot again, and you should now land on your desktop/login screen!

now you have access to nh os switch ~/nixos, and shouldn't touch the global config ever again.

S
Description
No description provided
Readme
191 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 97.2%
CSS 1.7%
Shell 1.1%