all repos — dotfiles @ 2cbf49bedf571e35822a4d2c73d2cb275657cddd

my *nix dotfiles

nix: use upstream {asus,supergfx}d
Anirudh Oppiliappan x@icyphox.sh
Thu, 29 Dec 2022 22:19:37 +0530
commit

2cbf49bedf571e35822a4d2c73d2cb275657cddd

parent

8215116180f14a7375be4ac0057879d0659cc16c

3 files changed, 24 insertions(+), 5 deletions(-)

jump to
M nix/flake.locknix/flake.lock

@@ -173,11 +173,11 @@ }

}, "nixpkgs_2": { "locked": { - "lastModified": 1670929434, - "narHash": "sha256-n5UBO6XBV4h3TB7FYu2yAuNQMEYOrQyKeODUwKe06ow=", + "lastModified": 1671722432, + "narHash": "sha256-ojcZUekIQeOZkHHzR81st7qxX99dB1Eaaq6PU5MNeKc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1710ed1f6f8ceb75cf7d1cf55ee0cc21760e1c7a", + "rev": "652e92b8064949a11bc193b90b74cb727f2a1405", "type": "github" }, "original": {
M nix/home.nixnix/home.nix

@@ -35,7 +35,6 @@ noto-fonts-emoji

jq yq-go fzy - slack nixpkgs-fmt libnotify signal-desktop
M nix/hosts/wyndle/configuration.nixnix/hosts/wyndle/configuration.nix

@@ -11,7 +11,7 @@ loader.systemd-boot.enable = true;

loader.efi.canTouchEfiVariables = true; kernel.sysctl."net.ipv4.ip_forward" = 1; resumeDevice = "/dev/nvme0n1p2"; - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages; }; networking = {

@@ -68,6 +68,19 @@ prompt

]; environment = { + etc = { + "supergfxd.conf" = { + mode = "0644"; + source = (pkgs.formats.json { }).generate "supergfxd.conf" { + mode = "hybrid"; + vfio_enable = false; + vfio_save = false; + always_reboot = false; + no_logind = false; + logout_timeout_s = 180; + }; + }; + }; sessionVariables = rec { NIXOS_OZONE_WL = "1"; };

@@ -131,6 +144,13 @@ };

}; services = { + asusd = { + enable = true; + enableUserService = true; + }; + supergfxd = { + enable = true; + }; pipewire = { enable = true; alsa.enable = true;