28 lines
657 B
Nix
28 lines
657 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"];
|
|
|
|
environment.systemPackages = [pkgs.factorio-experimental];
|
|
|
|
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;
|
|
};
|
|
};
|
|
}
|