Fix flake check issues
This commit is contained in:
parent
ed94ea8c2a
commit
40abda7ae9
6 changed files with 21 additions and 57 deletions
|
@ -2,6 +2,8 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
# nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||||
|
|
||||||
# I have this as a separate input so I don't rebuild the font every time I
|
# I have this as a separate input so I don't rebuild the font every time I
|
||||||
# want to upgrade nixpkgs
|
# want to upgrade nixpkgs
|
||||||
nixpkgsForIosevka.url = "github:nixos/nixpkgs?rev=5863c27340ba4de8f83e7e3c023b9599c3cb3c80";
|
nixpkgsForIosevka.url = "github:nixos/nixpkgs?rev=5863c27340ba4de8f83e7e3c023b9599c3cb3c80";
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{pkgs, ...}: {
|
{...}: {
|
||||||
programs.eww = {
|
programs.eww = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.eww-wayland;
|
|
||||||
configDir = ./eww;
|
configDir = ./eww;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
environment.systemPackages = with pkgs; [eww-wayland];
|
environment.systemPackages = [pkgs.eww];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{...}: {
|
{
|
||||||
environment.etc = {
|
services.pipewire.extraConfig = {
|
||||||
"pipewire/pipewire.conf.d/92-low-latency.conf".text = ''
|
# "pipewire/pipewire.conf.d/92-low-latency.conf".text = ''
|
||||||
context.properties = {
|
# context.properties = {
|
||||||
default.clock.rate = 48000
|
# default.clock.rate = 48000
|
||||||
default.clock.quantum = 128
|
# default.clock.quantum = 128
|
||||||
default.clock.min-quantum = 128
|
# default.clock.min-quantum = 128
|
||||||
default.clock.max-quantum = 128
|
# default.clock.max-quantum = 128
|
||||||
}
|
# }
|
||||||
|
|
||||||
jack.properties = {
|
# jack.properties = {
|
||||||
node.latency = 128/48000
|
# node.latency = 128/48000
|
||||||
}
|
# }
|
||||||
'';
|
# '';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,8 +35,8 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [./thinker.nix];
|
modules = [./thinker.nix];
|
||||||
};
|
};
|
||||||
htpifour = {
|
# htpifour = {
|
||||||
system = "aarch64-linux";
|
# system = "aarch64-linux";
|
||||||
modules = [./htpifour.nix];
|
# modules = [./htpifour.nix];
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,43 +95,6 @@ in {
|
||||||
|
|
||||||
# use updated ppd for framework 13:
|
# use updated ppd for framework 13:
|
||||||
# source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev
|
# source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev
|
||||||
nixpkgs.overlays = [
|
|
||||||
(
|
|
||||||
final: prev: {
|
|
||||||
power-profiles-daemon = prev.power-profiles-daemon.overrideAttrs (
|
|
||||||
old: {
|
|
||||||
version = "0.13-1";
|
|
||||||
|
|
||||||
patches =
|
|
||||||
(old.patches or [])
|
|
||||||
++ [
|
|
||||||
(prev.fetchpatch {
|
|
||||||
url = "https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127.patch";
|
|
||||||
sha256 = "sha256-jnq5yJvWQHOlZ78SE/4/HqiQfF25YHQH/T4wwDVRHR0=";
|
|
||||||
})
|
|
||||||
(prev.fetchpatch {
|
|
||||||
url = "https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/128.patch";
|
|
||||||
sha256 = "sha256-YD9wn9IQlCp02r4lmwRnx9Eur2VVP1JfC/Bm8hlzF3Q=";
|
|
||||||
})
|
|
||||||
(prev.fetchpatch {
|
|
||||||
url = "https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/129.patch";
|
|
||||||
sha256 = "sha256-9T+I3BAUW3u4LldF85ctE0/PLu9u+KBN4maoL653WJU=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# explicitly fetching the source to make sure we're patching over 0.13 (this isn't strictly needed):
|
|
||||||
src = prev.fetchFromGitLab {
|
|
||||||
domain = "gitlab.freedesktop.org";
|
|
||||||
owner = "hadess";
|
|
||||||
repo = "power-profiles-daemon";
|
|
||||||
rev = "0.13";
|
|
||||||
sha256 = "sha256-ErHy+shxZQ/aCryGhovmJ6KmAMt9OZeQGDbHIkC0vUE=";
|
|
||||||
};
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
|
||||||
|
|
||||||
swapDevices = [
|
swapDevices = [
|
||||||
# TODO: move this to disko?
|
# TODO: move this to disko?
|
||||||
|
|
Loading…
Reference in a new issue