hyprland era

This commit is contained in:
atagen 2023-01-22 19:02:56 +11:00
parent ec067ee460
commit 535d41cb1d
9 changed files with 275 additions and 98 deletions

View file

@ -1,11 +1,15 @@
{ config, lib, pkgs, modulesPath, ... }:
# let
# unstable-small = import <nixos-unstable-small> { config = { allowUnfree = true; }; };
# in
{
nixpkgs.overlays = [
(self: super: {
system76-scheduler = pkgs.callPackage ./syspkgs/system76-scheduler.nix {};
kwin-system76-scheduler-integration = pkgs.libsForQt5.callPackage ./syspkgs/kwin-system76-scheduler-integration.nix {};
# systemd = unstable-small.systemd;
})
];
@ -85,10 +89,30 @@
};
hardware.ckb-next.enable = true;
xdg.portal = {
enable = true;
gtkUsePortal = true;
wlr = {
enable = true;
settings = {
screencast = {
output_name = "DP-1";
max_fps = 60;
chooser_type = "simple";
chooser_amd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
};
};
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-kde
xdg-desktop-portal-gtk
];
};
environment.systemPackages = with pkgs;
[
xdg-desktop-portal-kde
ckb-next
openrgb
wl-clipboard
@ -105,17 +129,12 @@
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/06f59431-d939-4b48-9d91-e23606dd3ce0";
{ device = "/dev/disk/by-uuid/d227445f-6120-4768-8e1b-011f097505c1";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/f063e0c7-8590-4ed4-860c-5ae0c9b66898";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5008-1946";
{ device = "/dev/disk/by-uuid/6B75-AF9F";
fsType = "vfat";
};
@ -125,11 +144,11 @@
options = [ "rw" "uid=1001" "gid=100" ];
};
swapDevices = [ {
device = "/home/swapfile";
size = 4096;
}
];
# swapDevices = [ {
# device = "/dev/disk/by-uuid/7fde28ec-80f9-4228-8597-c3a57bfbf619";
# size = 4096;
# }
# ];
networking.firewall = {
allowedUDPPorts = [ 1900 ];