Fix hostnames

This commit is contained in:
Kiana Sheibani 2022-01-06 22:17:01 -05:00
parent b8e127818a
commit f594497bf0
6 changed files with 14 additions and 7 deletions

View file

@ -18,7 +18,6 @@ in {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "kiana-pc"; # Define your hostname.
networking.wireless.enable = true;
networking.wireless.networks = {
"NETGEAR97".psk = "pastelcello694";

View file

@ -3,4 +3,6 @@
imports = [
./hardware-configuration.nix
];
networking.hostName = "kiana-desktop";
}

View file

@ -1,2 +1,4 @@
{ ... }:
{}
{
imports = [ ../../common/home-manager ];
}

View file

@ -19,7 +19,7 @@ outputs = { self,
lib = nixpkgs.lib;
in {
nixosConfigurations = {
"desktop" = lib.makeOverridable lib.nixosSystem {
"kiana-desktop" = lib.makeOverridable lib.nixosSystem {
inherit system;
modules = [
{ _module.args = moduleArgs; }
@ -35,10 +35,10 @@ outputs = { self,
];
};
"laptop" = lib.makeOverridable lib.nixosSystem {
"kiana-laptop" = lib.makeOverridable lib.nixosSystem {
inherit system;
modules = [
{ _module.args = moduleArgs }
{ _module.args = moduleArgs; }
./common/config
./laptop/config
home-manager.nixosModules.home-manager

View file

@ -1,2 +1,4 @@
{ ... }:
{}
{
networking.hostName = "kiana-laptop";
}

View file

@ -1,2 +1,4 @@
{ ... }:
{}
{
imports = [ ../../common/home-manager ];
}