frues-clan/machines/frues-pc/configuration.nix
Pedro Rey Anca 7606f9e051
Some checks failed
Update `flake.lock` / update_lockfile (push) Waiting to run
Flake check / check (push) Has been cancelled
Migrate config (frues-pc machine for now) from https://git.peprolinbot.com/peprolinbot/nixos-config, with improvements
2025-09-08 18:59:28 +02:00

42 lines
902 B
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{...}: {
imports = [
./disks.nix
../../modules/desktop/hyprland.nix
];
hm-pedro.de = "hyprland";
programs.hyprland.autoLogin.username = "pedro";
boot.loader = {
grub = {
efiSupport = true;
device = "nodev";
useOSProber = true;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
};
# It is an open-source implementation of Nvidias Moonlight game streaming application
services.sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true;
openFirewall = true;
};
home-manager.users.pedro.wayland.windowManager.hyprland.settings = {
monitor = [
"DP-2, 1920x1080@60, 0x0, 1"
"DP-1, 2560x1440@165, 1920x0, 1.333333"
"HDMI-A-1, 1920x1080@75, 3840x0, 1"
];
exec-once = [
"uwsm app -- ckb-next -b"
];
};
hardware.ckb-next.enable = true;
}