diff --git a/configuration.nix b/configuration.nix index fac00ba..9f5c7d1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,9 +61,7 @@ autorandr ]; extraSessionCommands = '' - if [ $(hostname) = 'stel-xps' ]; then - ${pkgs.autorandr}/bin/autorandr -c - fi + ${pkgs.autorandr}/bin/autorandr -c ''; }; diff --git a/home/config/nixpkgs/autorandr.nix b/home/config/nixpkgs/autorandr.nix index a7117ed..1721c8e 100644 --- a/home/config/nixpkgs/autorandr.nix +++ b/home/config/nixpkgs/autorandr.nix @@ -54,6 +54,21 @@ position = "0x0"; }; }; + }; + "home-nuc" = { + fingerprint = { + DP-2 = "00ffffffffffff0009d1507945540000221e0104b54627783f5995af4f42af260f5054a56b80d1c0b300a9c08180810081c0010101014dd000a0f0703e8030203500ba892100001a000000ff004e384c30323634373031390a20000000fd00283c87873c010a202020202020000000fc0042656e5120455733323730550a01bc02033af1515d5e5f6061101f222120051404131203012309070783010000e200c06d030c0020003878200060010203e305e001e6060501544c2ca36600a0f0701f8030203500ba892100001a565e00a0a0a029502f203500ba892100001abf650050a0402e6008200808ba892100001c000000000000000000000000000000bf"; + }; + config = { + DP-2 = { + enable = true; + crtc = 1; + primary = true; + position = "0x0"; + mode = "3840x2160"; + dpi = 96; + }; + }; }; }; hooks.postswitch = { diff --git a/machine/current b/machine/current index 73eff5b..fab995a 120000 --- a/machine/current +++ b/machine/current @@ -1 +1 @@ -stel-xps/ \ No newline at end of file +nucturne/ \ No newline at end of file diff --git a/to_system.sh b/to_system.sh index 061e953..bd3af07 100755 --- a/to_system.sh +++ b/to_system.sh @@ -9,3 +9,4 @@ cp -r machine/stel-xps /etc/nixos/machine/. cp -r machine/nucturne /etc/nixos/machine/. cp -r ./home/config/* /home/ellmau/.config/. +chown -R ellmau:users /home/ellmau/.config/.