home | more attempts to get conditional imports working

This commit is contained in:
Don Harper 2023-12-29 08:12:41 -06:00
parent f35b44023d
commit 384c2064b5
4 changed files with 6 additions and 11 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, pkgs, ... }:
{
home-manager = {

1
home/files/sway/loki Symbolic link
View file

@ -0,0 +1 @@
default

1
home/files/sway/smaug Symbolic link
View file

@ -0,0 +1 @@
default

View file

@ -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 = {