mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 04:02:55 +00:00
set flake for hostname
This commit is contained in:
parent
01c5f09f41
commit
531c78ebe0
2
Makefile
2
Makefile
@ -41,4 +41,4 @@ python: brews
|
||||
|
||||
nix:
|
||||
git add -A
|
||||
doas nixos-rebuild build --flake ".#desktop"
|
||||
doas nixos-rebuild switch --flake .
|
||||
|
@ -37,6 +37,7 @@
|
||||
};
|
||||
modules = [
|
||||
home-manager.nixosModules.home-manager
|
||||
{ networking.hostName = "desktop"; }
|
||||
./hosts/desktop/hardware-configuration.nix
|
||||
./modules/common.nix
|
||||
./modules/desktop
|
||||
|
@ -1,7 +1,8 @@
|
||||
{ identity, ... }: {
|
||||
{ ... }: {
|
||||
|
||||
networking.hostName = identity.hostname; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
networking.wireless.enable =
|
||||
true; # Enables wireless support via wpa_supplicant.
|
||||
networking.wireless.userControlled.enable = true;
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
|
Loading…
Reference in New Issue
Block a user