23 lines
587 B
Nix
23 lines
587 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
|
||
|
];
|
||
|
|
||
|
config = {
|
||
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
||
|
|
||
|
pub-solar.audio.bluetooth.enable = false;
|
||
|
|
||
|
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;
|
||
|
};
|
||
|
};
|
||
|
}
|