home | more attempts to get conditional imports working
This commit is contained in:
parent
f35b44023d
commit
384c2064b5
4 changed files with 6 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
|
|
|
|||
1
home/files/sway/loki
Symbolic link
1
home/files/sway/loki
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
default
|
||||
1
home/files/sway/smaug
Symbolic link
1
home/files/sway/smaug
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
default
|
||||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue