mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 16:10:14 +00:00
collapse gui and identity arguments
This commit is contained in:
@ -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 = {
|
||||
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user