Fix swaylock on work machine
This commit is contained in:
parent
78abfc12eb
commit
ca5ee9ed20
3 changed files with 5 additions and 5 deletions
|
@ -66,9 +66,10 @@
|
|||
# Configurations for non-NixOS machines.
|
||||
homeConfigurations = with home-manager.lib; {
|
||||
"dev-lt-63" = homeManagerConfiguration {
|
||||
extraSpecialArgs = args // { age = args.config.age; };
|
||||
extraSpecialArgs = args;
|
||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
modules = [
|
||||
agenix.homeManagerModules.default
|
||||
./system/dev-lt-63/home.nix
|
||||
./shared/home
|
||||
];
|
||||
|
|
|
@ -57,6 +57,7 @@ in with lib; {
|
|||
|
||||
extraConfig = ''
|
||||
bindsym --release ${mod}+d exec ${sc}/bin/sc
|
||||
exec "${(import nixpkgs-latest {}).google-chrome}/bin/google-chrome-stable --ozone-platform-hint=auto --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --app=https://calendar.google.com"
|
||||
'';
|
||||
|
||||
config = rec {
|
||||
|
@ -114,7 +115,7 @@ in with lib; {
|
|||
"${mod}+Alt+a" = "layout toggle stacking splitv";
|
||||
"${mod}+Alt+s" = "layout toggle tabbed splith";
|
||||
|
||||
"${mod}+Escape" = "exec ${pkgs.swaylock}/bin/swaylock";
|
||||
"${mod}+Escape" = if config.isNixos then "exec ${pkgs.swaylock}/bin/swaylock" else "exec swaylock";
|
||||
"${mod}+Space" = "exec pkill -SIGUSR1 waybar";
|
||||
|
||||
"${mod}+Return" = "exec ${terminal}";
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# needed to do extra configuration for example, consider putting
|
||||
# the affected programs in their own modules.
|
||||
|
||||
{ pkgs, age, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
eva
|
||||
|
@ -45,6 +45,4 @@
|
|||
};
|
||||
};
|
||||
|
||||
xdg.configFile."deemix/.arl".source = age.secrets."arl".path;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue