From 469059415fa678247ae70475f0abae5269125a29 Mon Sep 17 00:00:00 2001 From: KaitoTLex Date: Mon, 20 Jan 2025 13:54:39 -0800 Subject: [PATCH] hotfix and package update for s2sleep --- flake.lock | 36 ++++++++++++++++++++++++++++++++++ flake.nix | 4 ++++ hosts/kuroko/configuration.nix | 5 ++++- 3 files changed, 44 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index eeaddec..baeb2a5 100644 --- a/flake.lock +++ b/flake.lock @@ -66,6 +66,23 @@ "type": "github" } }, + "cpu-microcodes": { + "flake": false, + "locked": { + "lastModified": 1737223256, + "narHash": "sha256-aETUoryCkJSRWlxbgL8im40+2FfOm0u4X9aP5aZueME=", + "owner": "platomav", + "repo": "CPUMicrocodes", + "rev": "984b766433e99c7e945b5cc17519bb088084b3fd", + "type": "github" + }, + "original": { + "owner": "platomav", + "repo": "CPUMicrocodes", + "rev": "984b766433e99c7e945b5cc17519bb088084b3fd", + "type": "github" + } + }, "firefox-gnome-theme": { "flake": false, "locked": { @@ -350,6 +367,7 @@ "nixvim": "nixvim", "spicetify": "spicetify", "stylix": "stylix", + "ucodenix": "ucodenix", "wallpapers": "wallpapers", "zen": "zen" } @@ -491,6 +509,24 @@ "type": "github" } }, + "ucodenix": { + "inputs": { + "cpu-microcodes": "cpu-microcodes" + }, + "locked": { + "lastModified": 1737386190, + "narHash": "sha256-r9UOn9nMqDjY+ohnNCKs8SgN55UXTPI+RWhka2RcsXY=", + "owner": "e-tho", + "repo": "ucodenix", + "rev": "4c7931fcf713c4ddf730d275f07d916c5f4c4e7a", + "type": "github" + }, + "original": { + "owner": "e-tho", + "repo": "ucodenix", + "type": "github" + } + }, "wallpapers": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 6d606bd..e47e639 100644 --- a/flake.nix +++ b/flake.nix @@ -23,6 +23,10 @@ url = "github:youwen5/zen-browser-flake"; inputs.nixpkgs.follows = "nixpkgs"; }; + ucodenix = { + url = "github:e-tho/ucodenix"; + inputs.nixpks.follows = "nixpkgs"; + }; wallpapers = { url = "github:kaitotlex/wallpaper"; flake = false; diff --git a/hosts/kuroko/configuration.nix b/hosts/kuroko/configuration.nix index df8349a..e5a20d7 100644 --- a/hosts/kuroko/configuration.nix +++ b/hosts/kuroko/configuration.nix @@ -2,6 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). { + inputs, config, pkgs, lib, @@ -10,9 +11,10 @@ { imports = [ # Include the results of the hardware scan. + inputs.ucodenix.nixosModules.default ./hardware-configuration.nix ]; - + services.ucodenix.enable = true; # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -137,6 +139,7 @@ osu-lazer davinci-resolve wacomtablet + obs-studio ]; # List services that you want to enable: