forked from pub-solar/os
21 lines
535 B
Nix
21 lines
535 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib;
|
|
let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in
|
|
{
|
|
imports = [
|
|
./configuration.nix
|
|
];
|
|
|
|
pub-solar.nextcloud.enable = lib.mkForce false;
|
|
|
|
config = {
|
|
home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable {
|
|
"sway/config.d/10-screens.conf".source = ./.config/sway/config.d/screens.conf;
|
|
"sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf;
|
|
};
|
|
};
|
|
}
|