Nix-Config/hosts/apollo/default.nix

30 lines
No EOL
590 B
Nix

{ pkgs, lib, inputs, ... }:
{
imports = [
./boot.nix
./hardware.nix
];
networking.hostName = "apollo";
networking.hostId = "40ced703";
networking.networkmanager.insertNameservers = [ "10.5.0.1" "1.1.1.1" ];
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
environment.systemPackages = with pkgs; [
kitty
];
systemd.defaultUnit = "graphical.target";
programs.zsh.loginShellInit = ''
if [[ "$TTY" == "/dev/tty1" ]] && uwsm check may-start; then
exec uwsm start hyprland-uwsm.desktop
fi
'';
}