share workstation config
This commit is contained in:
parent
bafa89a265
commit
1e0474b124
3 changed files with 16 additions and 14 deletions
|
@ -6,6 +6,9 @@
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
# Shared config of all workstations
|
||||||
|
/data/nixos/share/workstation.nix
|
||||||
|
|
||||||
# Shared config of all machines
|
# Shared config of all machines
|
||||||
/data/nixos/share/common.nix
|
/data/nixos/share/common.nix
|
||||||
];
|
];
|
||||||
|
@ -16,11 +19,4 @@
|
||||||
# our hostname
|
# our hostname
|
||||||
networking.hostName = "miku";
|
networking.hostName = "miku";
|
||||||
networking.hostId = "4d00f481";
|
networking.hostId = "4d00f481";
|
||||||
|
|
||||||
# just classic DHCP, wired only
|
|
||||||
networking.networkmanager.enable = false;
|
|
||||||
networking.useDHCP = true;
|
|
||||||
|
|
||||||
# EurKey layout
|
|
||||||
services.xserver.xkb.layout = "eu";
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
# Shared config of all workstations
|
||||||
|
/data/nixos/share/workstation.nix
|
||||||
|
|
||||||
# Shared config of all machines
|
# Shared config of all machines
|
||||||
/data/nixos/share/common.nix
|
/data/nixos/share/common.nix
|
||||||
];
|
];
|
||||||
|
@ -16,11 +19,4 @@
|
||||||
# our hostname
|
# our hostname
|
||||||
networking.hostName = "neko";
|
networking.hostName = "neko";
|
||||||
networking.hostId = "4836f248";
|
networking.hostId = "4836f248";
|
||||||
|
|
||||||
# just classic DHCP, wired only
|
|
||||||
networking.networkmanager.enable = false;
|
|
||||||
networking.useDHCP = true;
|
|
||||||
|
|
||||||
# EurKey layout
|
|
||||||
services.xserver.xkb.layout = "eu";
|
|
||||||
}
|
}
|
||||||
|
|
10
share/workstation.nix
Normal file
10
share/workstation.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# just classic DHCP, wired only
|
||||||
|
networking.networkmanager.enable = false;
|
||||||
|
networking.useDHCP = true;
|
||||||
|
|
||||||
|
# EurKey layout
|
||||||
|
services.xserver.xkb.layout = "eu";
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue