35 lines
No EOL
676 B
Nix
35 lines
No EOL
676 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
|
|
];
|
|
|
|
services.getty = {
|
|
autologinUser = "nyxerinys";
|
|
autologinOnce = true;
|
|
};
|
|
|
|
systemd.defaultUnit = "graphical.target";
|
|
|
|
programs.zsh.loginShellInit = ''
|
|
if [[ "$TTY" == "/dev/tty1" ]] && uwsm check may-start; then
|
|
exec uwsm start hyprland-uwsm.desktop
|
|
fi
|
|
'';
|
|
} |