diff --git a/home/default.nix b/home/default.nix index 1439c77..1cd9bf2 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, pkgs, ... }: { home-manager = { diff --git a/home/files/sway/loki b/home/files/sway/loki new file mode 120000 index 0000000..331d858 --- /dev/null +++ b/home/files/sway/loki @@ -0,0 +1 @@ +default \ No newline at end of file diff --git a/home/files/sway/smaug b/home/files/sway/smaug new file mode 120000 index 0000000..331d858 --- /dev/null +++ b/home/files/sway/smaug @@ -0,0 +1 @@ +default \ No newline at end of file diff --git a/home/sway.nix b/home/sway.nix index c68aa5c..18bc013 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -1,14 +1,7 @@ -{ config, pkgs, lib, inputs, ... }: -with config; +{ config, pkgs, lib, inputs, outputs, ... }: { - xdg.configFile = - { - "sway/config".source = files/sway/default; - #"sway/config".source = - # if ( inputs.config.networking.hostName == "pocket2") - # then files/sway/pocket2 - # else files/sway/default; - }; + # xdg.configFile."sway/config".source = files/sway/${config.networking.hostName}; + xdg.configFile."sway/config".source = files/sway/default; programs.swaylock = { enable = true; settings = {