collapse gui and identity arguments

This commit is contained in:
Noah Masur
2022-04-30 12:07:58 -04:00
parent 8e08b70d86
commit 9d7307d16d
21 changed files with 89 additions and 84 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, user, ... }: {
{ pkgs, identity, ... }: {
# Timezone required for Redshift schedule
imports = [ ../system/timezone.nix ];
@ -21,7 +21,7 @@
hardware.i2c.enable = true;
# Grant user access to external monitors
users.users.${user}.extraGroups = [ "i2c" ];
users.users.${identity.user}.extraGroups = [ "i2c" ];
services.xserver.displayManager = {

View File

@ -1,6 +1,6 @@
{ hostname, ... }: {
{ identity, ... }: {
networking.hostName = hostname; # Define your hostname.
networking.hostName = identity.hostname; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# The global useDHCP flag is deprecated, therefore explicitly set to false here.