os/hosts/norman/norman.nix

21 lines
540 B
Nix
Raw Normal View History

2022-01-22 21:14:30 +00:00
{ config, pkgs, lib, ... }:
with lib;
let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in
{
imports = [
./configuration.nix
];
config = {
2022-08-13 15:38:54 +00:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2022-01-22 21:14:30 +00:00
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;
};
};
}