config.nix/hosts/marty-pc/default.nix
2026-03-30 22:03:03 +02:00

40 lines
597 B
Nix

{
config,
lib,
pkgs,
modulesPath,
home-manager,
inputs,
...
}:
let
hostname = "marty-pc";
in
{
networking = {
hostName = hostname;
interfaces = {
enp42s0 = {
wakeOnLan = {
enable = true;
policy = [ "magic" ];
};
};
};
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true;
useUserPackages = true;
users = {
marty = import ./home.nix;
};
};
imports = [
./hardware.nix
./custom.nix
];
system.stateVersion = "25.05"; # Did you read the comment?
}