make sure grobi works

This commit is contained in:
Cyryl Płotnicki 2020-05-08 16:25:14 +01:00
parent a07a067650
commit a337d1a0a1
5 changed files with 4 additions and 91 deletions

BIN
foureighty.qcow2 Normal file

Binary file not shown.

View file

@ -1,87 +0,0 @@
{ config, pkgs, ... }:
{
programs.autorandr = {
enable = true;
hooks = {
postswitch = {
"restart-compton" = "systemctl --user restart picom";
"restart-i3" = "i3-msg restart";
"restart-services" = "systemctl --user restart kdeconnect-indicator.service kdeconnect.service network-manager-applet.service pasystray.service";
};
};
profiles = {
"form3-docked" = {
fingerprint = {
eDP-1-1 = "00ffffffffffff004d108d1400000000051c0104a52213780e9b34a95335bb250c5157000000010101010101010101010101010101014dd000a0f0703e803020350058c210000018000000000000000000000000000000000000000000fe00464e564452804c513135364431000000000002410328011200000b010a202000b9";
DP-1-1 ="00ffffffffffff0026cd4d66f3030000271d0103803c22782ef6d5a7544b9e250d5054bfef80714f8140818081c09500b300d1c001014dd000a0f0703e8030203500544f2100001a000000ff0031313636333933393031303131000000fd00184c1fa03c000a202020202020000000fc00504c3237393255480a2020202001bd020340f35410050403020716011f12131420151106615d5e5f23090707830100006d030c001000387820006001020367d85dc40178c000e3050301e40f000001023a801871382d40582c4500544f2100001e565e00a0a0a0295030203500544f2100001af45100a0f070198030203500544f2100001e000000000000000000d6";
};
config = {
DP-1-1 = {
enable = true;
primary = true;
position = "0x0";
mode = "3840x2160";
dpi = 192;
};
eDP-1-1 = {
enable = false;
primary = false;
position = "3840x0";
mode = "3840x2160";
dpi = 256;
};
};
};
"form3-alone" = {
fingerprint = {
eDP-1-1 = "00ffffffffffff004d108d1400000000051c0104a52213780e9b34a95335bb250c5157000000010101010101010101010101010101014dd000a0f0703e803020350058c210000018000000000000000000000000000000000000000000fe00464e564452804c513135364431000000000002410328011200000b010a202000b9";
};
config = {
eDP-1-1 = {
enable = true;
primary = true;
mode = "3840x2160";
dpi = 256;
};
};
};
"foureighty-alone" = {
fingerprint = {
eDP1 = "00ffffffffffff0006af362300000000001b0104a51f117802f4f5a4544d9c270f505400000001010101010101010101010101010101e65f00a0a0a040503020350035ae100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343051414e30322e33200a00b2";
};
config = {
eDP1 = {
enable = true;
primary = true;
mode = "2560x1440";
dpi = 144;
};
};
};
"foureighty-docked" = {
fingerprint = {
eDP1 = "00ffffffffffff0006af362300000000001b0104a51f117802f4f5a4544d9c270f505400000001010101010101010101010101010101e65f00a0a0a040503020350035ae100000180000000f0000000000000000000000000020000000fe0041554f0a202020202020202020000000fe004231343051414e30322e33200a00b2";
DP1 ="00ffffffffffff0026cd4d66f3030000271d0103803c22782ef6d5a7544b9e250d5054bfef80714f8140818081c09500b300d1c001014dd000a0f0703e8030203500544f2100001a000000ff0031313636333933393031303131000000fd00184c1fa03c000a202020202020000000fc00504c3237393255480a2020202001bd020340f35410050403020716011f12131420151106615d5e5f23090707830100006d030c001000387820006001020367d85dc40178c000e3050301e40f000001023a801871382d40582c4500544f2100001e565e00a0a0a0295030203500544f2100001af45100a0f070198030203500544f2100001e000000000000000000d6";
};
config = {
DP1 = {
enable = true;
primary = true;
position = "0x0";
mode = "3840x2160";
dpi = 192;
};
eDP1 = {
enable = false;
primary = false;
position = "3840x0";
mode = "2560x1440";
};
};
};
};
};
}

View file

@ -5,9 +5,9 @@
services.grobi = { services.grobi = {
enable = true; enable = true;
executeAfter = [ executeAfter = [
"systemctl --user restart picom" "${pkgs.systemd}/bin/systemctl --user restart picom"
"i3-msg restart" "${pkgs.i3}/bin/i3-msg restart"
"systemctl --user restart kdeconnect-indicator kdeconnect network-manager-applet pasystray udiskie" "${pkgs.systemd}/bin/systemctl --user restart kdeconnect-indicator kdeconnect network-manager-applet pasystray udiskie"
]; ];
rules = [ rules = [
{ {

View file

@ -8,7 +8,6 @@
}; };
colord.enable = true; colord.enable = true;
autorandr.enable = true;
xserver.windowManager.i3.enable = true; xserver.windowManager.i3.enable = true;
xserver.displayManager.sddm = { xserver.displayManager.sddm = {
enable = true; enable = true;

1
result Symbolic link
View file

@ -0,0 +1 @@
/nix/store/k784rpz69grfxnzldh86pmv2w2djgxyf-nixos-vm