gpt4all 3.9.0 and cleanup
This commit is contained in:
parent
69297e60af
commit
934a0dc51f
@ -46,8 +46,6 @@
|
||||
homeDirectory = "/home/${username}";
|
||||
hostname = nixpkgs.lib.strings.removeSuffix "\n" (builtins.readFile /etc/hostname);
|
||||
|
||||
pkgs = import nixpkgs { };
|
||||
|
||||
# stolen from: https://stackoverflow.com/a/42398526
|
||||
optimizeWithFlags =
|
||||
pkg: flags:
|
||||
@ -62,6 +60,19 @@
|
||||
stdenv = pkgs.clang19Stdenv;
|
||||
}
|
||||
);
|
||||
|
||||
pkgs' = (import nixpkgs { }).applyPatches {
|
||||
name = "gpt4all 3.9.0";
|
||||
src = inputs.nixpkgs;
|
||||
patches = [
|
||||
(builtins.fetchurl {
|
||||
url = "https://github.com/NixOS/nixpkgs/pull/372723.diff";
|
||||
sha256 = "1zzrs058i9p89qy8r22n8i5wff5s0s6w56c7d37nvs6b0jwp5qhm";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
pkgs = (import pkgs' { });
|
||||
in
|
||||
{
|
||||
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
|
||||
|
||||
@ -35,13 +35,12 @@
|
||||
:onchange command)
|
||||
(label :text "${value}%" :class color)))
|
||||
|
||||
(defpoll windowtitle :interval "1s" `scripts/currentWindow.fish`)
|
||||
|
||||
(defwidget window-title []
|
||||
(label
|
||||
:text "${windowtitle == "" ? "" : "(${windowtitle})"}"))
|
||||
|
||||
(defpoll windowtitle :interval "1s" `scripts/currentWindow.fish`)
|
||||
(defpoll currentworkspace :interval "1s" `scripts/currentWorkspace.fish`)
|
||||
|
||||
(defwidget brightness-ctl []
|
||||
(box :visible brightnessctl-open
|
||||
(cmd-slider :symbol "" :value brightness
|
||||
@ -135,3 +134,5 @@
|
||||
(label :text "${volumevalue.count}%" :class "${volumevalue.color}")))
|
||||
|
||||
|
||||
(defpoll currentworkspace :interval "1s" `scripts/currentWorkspace.fish`)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user