mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 06:22:56 +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:
|
nix:
|
||||||
git add -A
|
git add -A
|
||||||
doas nixos-rebuild build --flake ".#desktop"
|
doas nixos-rebuild switch --flake .
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
{ networking.hostName = "desktop"; }
|
||||||
./hosts/desktop/hardware-configuration.nix
|
./hosts/desktop/hardware-configuration.nix
|
||||||
./modules/common.nix
|
./modules/common.nix
|
||||||
./modules/desktop
|
./modules/desktop
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{ identity, ... }: {
|
{ ... }: {
|
||||||
|
|
||||||
networking.hostName = identity.hostname; # Define your hostname.
|
networking.wireless.enable =
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
true; # Enables wireless support via wpa_supplicant.
|
||||||
|
networking.wireless.userControlled.enable = true;
|
||||||
|
|
||||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
# 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
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||||
|
Loading…
Reference in New Issue
Block a user