···1515 ./users.nix
1616 ./packages.nix
1717 ./services.nix
1818- # TOOD: check if we need this here still, it's imported in users.nix
1919- <home-manager/nixos>
2018 ];
21192220 # Set your time zone.
+8-4
users.nix
···11{ pkgs, ... }:
22+let
33+ home-manager = builtins.fetchTarball
44+ "https://github.com/nix-community/home-manager/archive/release-24.05.tar.gz";
55+in
26{
3744- imports =
55- [
66- <home-manager/nixos>
77- ];
88+ imports = [
99+ # Import home-manager first, it's required for other modules
1010+ (import "${home-manager}/nixos")
1111+ ];
812913 # Declarative only optoins.
1014 # I don't want to allow ad-hoc modifying users on the system.