From 9bba138c8f0571f390e4249d112017c0879b8947 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 17 Jun 2018 03:27:30 -0700 Subject: [PATCH 1/4] [NixOS] Add networking host name for uber-loaner --- nixos/machines/uber-loaner.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/machines/uber-loaner.nix b/nixos/machines/uber-loaner.nix index 0503a71c..fdb17cd1 100644 --- a/nixos/machines/uber-loaner.nix +++ b/nixos/machines/uber-loaner.nix @@ -28,6 +28,7 @@ fsType = "tmpfs"; }; + networking.hostName = "uber-loaner"; swapDevices = [ ]; nix.maxJobs = lib.mkDefault 4; From ad6727ea3077dd63bd4eedb269ee4f2c9ba1e92a Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 17 Jun 2018 04:36:38 -0700 Subject: [PATCH 2/4] [NixOS] Install qttools --- nixos/configuration.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 6ab01387..8c9ec36c 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -130,6 +130,8 @@ in numix-icon-theme-circle gnome3.adwaita-icon-theme hicolor-icon-theme + plasma5.breeze-gtk + plasma5.breeze-qt5 # Desktop autorandr @@ -174,7 +176,7 @@ in ncdu pass python-with-my-packages - # qttools + qt5.qttools rcm silver-searcher stow From 06a6f794c257b0f16ffc03a6c31c7f00b54aebfa Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 17 Jun 2018 04:37:39 -0700 Subject: [PATCH 3/4] [autorandr] Add configs for uber-loaner --- dotfiles/config/autorandr/loaner/config | 15 +++++++++++++++ dotfiles/config/autorandr/loaner/setup | 1 + .../config/autorandr/loaner_with_monitor/config | 17 +++++++++++++++++ .../config/autorandr/loaner_with_monitor/setup | 2 ++ 4 files changed, 35 insertions(+) create mode 100644 dotfiles/config/autorandr/loaner/config create mode 100644 dotfiles/config/autorandr/loaner/setup create mode 100644 dotfiles/config/autorandr/loaner_with_monitor/config create mode 100644 dotfiles/config/autorandr/loaner_with_monitor/setup diff --git a/dotfiles/config/autorandr/loaner/config b/dotfiles/config/autorandr/loaner/config new file mode 100644 index 00000000..b42a9985 --- /dev/null +++ b/dotfiles/config/autorandr/loaner/config @@ -0,0 +1,15 @@ +output DP1 +off +output DP2 +off +output HDMI1 +off +output HDMI2 +off +output VIRTUAL1 +off +output eDP1 +mode 1440x900 +pos 0x0 +primary +rate 60.00 diff --git a/dotfiles/config/autorandr/loaner/setup b/dotfiles/config/autorandr/loaner/setup new file mode 100644 index 00000000..a642bfd5 --- /dev/null +++ b/dotfiles/config/autorandr/loaner/setup @@ -0,0 +1 @@ +eDP1 00ffffffffffff000610f09c0000000011160104951d127802ef05975754922722505400000001010101010101010101010101010101b922a0a050841a30302036001eb300000018000000100000000000000000000000000000000000fe004c534e31333342543031413032000000fc00436f6c6f72204c43440a2020200009 diff --git a/dotfiles/config/autorandr/loaner_with_monitor/config b/dotfiles/config/autorandr/loaner_with_monitor/config new file mode 100644 index 00000000..24513675 --- /dev/null +++ b/dotfiles/config/autorandr/loaner_with_monitor/config @@ -0,0 +1,17 @@ +output DP1 +off +output DP2 +off +output HDMI2 +off +output VIRTUAL1 +off +output HDMI1 +mode 1920x1080 +pos 0x0 +rate 60.00 +output eDP1 +mode 1440x900 +pos 0x1080 +primary +rate 60.00 diff --git a/dotfiles/config/autorandr/loaner_with_monitor/setup b/dotfiles/config/autorandr/loaner_with_monitor/setup new file mode 100644 index 00000000..1673d027 --- /dev/null +++ b/dotfiles/config/autorandr/loaner_with_monitor/setup @@ -0,0 +1,2 @@ +HDMI1 00ffffffffffff0010ac7f404c33353220180103803c2278ea4bb5a7564ba3250a5054a54b008100b300714fa9408180010101010101023a801871382d40582c250055502100001e000000ff00374a4e59353438363235334c0a000000fc0044454c4c205532373133484d0a000000fd00384c1e5111000a2020202020200168020329f15090050403020716010611121513141f2023097f0767030c001000382d83010000e3050301023a801871382d40582c250055502100001e011d8018711c1620582c250055502100009e011d007251d01e206e28550055502100001e8c0ad08a20e02d10103e960055502100001800000000000000000000000000007a +eDP1 00ffffffffffff000610f09c0000000011160104951d127802ef05975754922722505400000001010101010101010101010101010101b922a0a050841a30302036001eb300000018000000100000000000000000000000000000000000fe004c534e31333342543031413032000000fc00436f6c6f72204c43440a2020200009 From 49e77bcbd1bdad35c577fc515c5c965ebdf88565 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 17 Jun 2018 14:23:36 -0700 Subject: [PATCH 4/4] [NixOS] Disable IPv6 --- nixos/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 8c9ec36c..b93e4a0f 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -74,6 +74,7 @@ in nixpkgs.config.allowUnfree = true; security.sudo.wheelNeedsPassword = false; networking.networkmanager.enable = true; + networking.enableIPv6 = false; i18n = { consoleKeyMap = "us";