Service fixes

This commit is contained in:
Charlotte Van Petegem 2020-09-30 13:30:53 +02:00
parent 10a18869d8
commit 4743a2a78b
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 11 additions and 11 deletions

View file

@ -8,7 +8,7 @@
home-manager.users.charlotte = { pkgs, ... }: { home-manager.users.charlotte = { pkgs, ... }: {
programs.password-store = { programs.password-store = {
enable = true; enable = true;
settings = { PASSWORD_STORE_DIR = "$HOME/repos/passwords"; }; settings = { PASSWORD_STORE_DIR = "/home/charlotte/repos/passwords"; };
}; };
services.password-store-sync.enable = true; services.password-store-sync.enable = true;
}; };

View file

@ -19,24 +19,24 @@ in
profiles = { profiles = {
"home-undocked" = { "home-undocked" = {
outputs = [ outputs = [
{ criteria = "Unknown 0x2036 0x00000000"; position = "0 0"; mode = "2560x1440"; scale = 1.0; } { criteria = "Unknown 0x2036 0x00000000"; position = "0,0"; mode = "2560x1440"; scale = 1.0; }
]; ];
}; };
"home-docked" = { "home-docked" = {
outputs = [ outputs = [
{ criteria = "Unknown 0x2036 0x00000000"; position = "0 0"; mode = "2560x1440"; scale = 1.0; } { criteria = "Unknown 0x2036 0x00000000"; position = "0,0"; mode = "2560x1440"; scale = 1.0; }
{ criteria = "Dell Inc. DELL U2718Q FN84K01T095L"; position = "2560 0"; mode = "3840x2160"; scale = 1.25; } { criteria = "Dell Inc. DELL U2718Q FN84K01T095L"; position = "2560,0"; mode = "3840x2160"; scale = 1.25; }
]; ];
}; };
"work-undocked" = { "work-undocked" = {
outputs = [ outputs = [
{ criteria = "Chimei Innolux Corporation 0x14D3 0x00000000"; position = "0 0"; mode = "1920x1080"; scale = 1.0; } { criteria = "Chimei Innolux Corporation 0x14D3 0x00000000"; position = "0,0"; mode = "1920x1080"; scale = 1.0; }
]; ];
}; };
"work-docked" = { "work-docked" = {
outputs = [ outputs = [
{ criteria = "Chimei Innolux Corporation 0x14D3 0x00000000"; position = "0 0"; mode = "1920x1080"; scale = 1.0; } { criteria = "Chimei Innolux Corporation 0x14D3 0x00000000"; position = "0,0"; mode = "1920x1080"; scale = 1.0; }
{ criteria = "Dell Inc. DELL U2718Q FN84K83Q1KHL"; position = "1920 0"; mode = "3840x2160"; scale = 1.25; } { criteria = "Dell Inc. DELL U2718Q FN84K83Q1KHL"; position = "1920,0"; mode = "3840x2160"; scale = 1.25; }
]; ];
}; };
}; };
@ -71,10 +71,10 @@ in
} }
]; ];
output = { output = {
"Unknown 0x2036 0x00000000" = { position = "0 0"; mode = "2560x1440"; scale = "1.0"; }; "Unknown 0x2036 0x00000000" = { position = "0,0"; mode = "2560x1440"; scale = "1.0"; };
"Dell Inc. DELL U2718Q FN84K01T095L" = { position = "2560 0"; mode = "3840x2160"; scale = "1.25"; }; "Dell Inc. DELL U2718Q FN84K01T095L" = { position = "2560,0"; mode = "3840x2160"; scale = "1.25"; };
"Chimei Innolux Corporation 0x14D3 0x00000000" = { position = "0 0"; mode = "1920x1080"; scale = "1.0"; }; "Chimei Innolux Corporation 0x14D3 0x00000000" = { position = "0,0"; mode = "1920x1080"; scale = "1.0"; };
"Dell Inc. DELL U2718Q FN84K83Q1KHL" = { position = "1920 0"; mode = "3840x2160"; scale = "1.25"; }; "Dell Inc. DELL U2718Q FN84K83Q1KHL" = { position = "1920,0"; mode = "3840x2160"; scale = "1.25"; };
}; };
startup = [ startup = [
{ command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' timeout 150 '${pkgs.sway}/bin/swaymsg \"output * dpms off\"' resume '${pkgs.sway}/bin/swaymsg \"output * dpms on\"' before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'"; } { command = "${pkgs.swayidle}/bin/swayidle -w timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' timeout 150 '${pkgs.sway}/bin/swaymsg \"output * dpms off\"' resume '${pkgs.sway}/bin/swaymsg \"output * dpms on\"' before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'"; }