add regreet

This commit is contained in:
atagen 2023-06-20 15:34:48 +10:00
parent 48ad8a3fdf
commit 16e9c62f76
13 changed files with 406 additions and 303 deletions

View file

@ -8,14 +8,8 @@
modulesPath,
...
}: {
nix.settings = {
substituters = ["https://hyprland.cachix.org" "https://nix-community.cachix.org" ];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
imports = [
./configuration.nix
inputs.hyprland.nixosModules.default
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbcore" "sd_mod"];
@ -77,15 +71,6 @@
};
};
programs.hyprland = {
enable = true;
xwayland = {
enable = true;
hidpi = false;
};
nvidiaPatches = true;
};
services.xserver.videoDrivers = ["nvidia"];
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.beta;
hardware.nvidia.modesetting.enable = true;
@ -101,17 +86,6 @@
};
};
# systemd.services."com.system76.Scheduler" = {
# wantedBy = ["multi-user.target"];
# description = "the system76 process scheduler";
# serviceConfig = {
# Type = "dbus";
# ExecStart = ''${pkgs.system76-scheduler}/bin/system76-scheduler daemon'';
# ExecReload = ''${pkgs.system76-scheduler}/bin/system76-scheduler daemon reload'';
# BusName = "com.system76.Scheduler";
# };
# };
services.dbus.packages = [
pkgs.linuxPackages_xanmod_latest.system76-scheduler
];
@ -131,24 +105,6 @@
hardware.ckb-next.enable = true;
xdg.portal = {
enable = true;
wlr = {
enable = true;
# settings = {
# screencast = {
# output_name = "DP-1";
# max_fps = 60;
# chooser_type = "simple";
# chooser_nvidia = "${pkgs.slurp}/bin/slurp -f %o -or";
# };
# };
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
environment.systemPackages = with pkgs; [
ckb-next
openrgb