share workstation config

This commit is contained in:
Christoph Cullmann 2025-07-05 21:01:35 +02:00
parent bafa89a265
commit 1e0474b124
No known key found for this signature in database
3 changed files with 16 additions and 14 deletions

View file

@ -6,6 +6,9 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
# Shared config of all workstations
/data/nixos/share/workstation.nix
# Shared config of all machines
/data/nixos/share/common.nix
];
@ -16,11 +19,4 @@
# our hostname
networking.hostName = "miku";
networking.hostId = "4d00f481";
# just classic DHCP, wired only
networking.networkmanager.enable = false;
networking.useDHCP = true;
# EurKey layout
services.xserver.xkb.layout = "eu";
}

View file

@ -6,6 +6,9 @@
# Include the results of the hardware scan.
./hardware-configuration.nix
# Shared config of all workstations
/data/nixos/share/workstation.nix
# Shared config of all machines
/data/nixos/share/common.nix
];
@ -16,11 +19,4 @@
# our hostname
networking.hostName = "neko";
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
View 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";
}