2023-02-25 13:45:21 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
2022-08-21 22:53:04 +00:00
|
|
|
psCfg = config.pub-solar;
|
|
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
2023-02-25 13:45:21 +00:00
|
|
|
in {
|
2022-08-21 22:53:04 +00:00
|
|
|
imports = [
|
|
|
|
./configuration.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
config = {
|
2023-02-25 13:45:21 +00:00
|
|
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
|
|
|
|
|
|
|
environment.systemPackages = [pkgs.factorio-experimental];
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
|
|
pub-solar.audio.bluetooth.enable = false;
|
|
|
|
|
|
|
|
home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable {
|
2023-04-01 14:49:01 +00:00
|
|
|
"sway/config.d/10-inputs.conf".source = ./.config/sway/config.d/inputs.conf;
|
2022-08-21 22:53:04 +00:00
|
|
|
"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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|