gimp3, disable channels

This commit is contained in:
Kopatz
2025-03-10 14:57:43 +01:00
parent d0fa3674c3
commit 28c4ff21a6
7 changed files with 38 additions and 5 deletions

View File

@@ -351,7 +351,6 @@ exec_always --no-startup-id sleep 5 && pactl list short sources | grep 'alsa_inp
exec --no-startup-id /usr/bin/env dunst exec --no-startup-id /usr/bin/env dunst
# alternative if you installed aside with XFCE4: # alternative if you installed aside with XFCE4:
# exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd & # exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd &
exec --no-startup-id sleep 5 && nvidia-settings -a "[gpu:0]/GPUGraphicsClockOffsetAllPerformanceLevels=230"
# autotiling script # autotiling script
# https://github.com/nwg-piotr/autotiling # https://github.com/nwg-piotr/autotiling

17
flake.lock generated
View File

@@ -615,6 +615,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-gimp3": {
"locked": {
"lastModified": 1735507908,
"narHash": "sha256-VA+khC0S0di6w5Yv1kBNRpAihnt2prT/ehQzsKMhEoA=",
"owner": "jtojnar",
"repo": "nixpkgs",
"rev": "771cf18187fefcfaababd35834917c621447fee8",
"type": "github"
},
"original": {
"owner": "jtojnar",
"ref": "gimp-meson",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1697935651, "lastModified": 1697935651,
@@ -793,6 +809,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixos-wsl": "nixos-wsl", "nixos-wsl": "nixos-wsl",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-gimp3": "nixpkgs-gimp3",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim", "nixvim": "nixvim",
"nur": "nur", "nur": "nur",

View File

@@ -30,6 +30,7 @@
#TODO: wait until https://github.com/NixOS/nixpkgs/pull/339641 is in unstable https://nixpk.gs/pr-tracker.html?pr=339641 #TODO: wait until https://github.com/NixOS/nixpkgs/pull/339641 is in unstable https://nixpk.gs/pr-tracker.html?pr=339641
#nixpkgs-unstable.url = "github:nixos/nixpkgs/a6916c76a7d202e3c02134e620f6477b8600ce9d"; #nixpkgs-unstable.url = "github:nixos/nixpkgs/a6916c76a7d202e3c02134e620f6477b8600ce9d";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-gimp3.url = "github:jtojnar/nixpkgs/gimp-meson";
home-manager-unstable = { home-manager-unstable = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
@@ -73,6 +74,7 @@
modifications modifications
unstable-packages unstable-packages
stable-packages stable-packages
gimp3
nur.overlays.default nur.overlays.default
]; ];
}; };

View File

@@ -0,0 +1,9 @@
{ config, pkgs, ... }: {
boot = {
extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
kernelModules = [ "zenpower" ];
blacklistedKernelModules = [ "k10temp" ];
};
environment.systemPackages = with pkgs; [ zenmonitor ];
}

View File

@@ -32,6 +32,7 @@ in {
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 30d"; options = "--delete-older-than 30d";
}; };
channel.enable = false;
extraOptions = '' extraOptions = ''
min-free = ${toString (100 * 1024 * 1024)} min-free = ${toString (100 * 1024 * 1024)}
max-free = ${toString (1024 * 1024 * 1024)} max-free = ${toString (1024 * 1024 * 1024)}

View File

@@ -70,4 +70,11 @@ in {
config.allowUnfree = true; config.allowUnfree = true;
}; };
}; };
gimp3 = final: _prev: {
gimp3 = import inputs.nixpkgs-gimp3 {
system = final.system;
config.allowUnfree = true;
};
};
} }

View File

@@ -14,6 +14,7 @@
../../modules/fh/writing.nix ../../modules/fh/writing.nix
../../modules/work/vpn.nix ../../modules/work/vpn.nix
../../modules/misc/faster-boot-time.nix ../../modules/misc/faster-boot-time.nix
../../modules/hardware/ryzen.nix
]; ];
custom = { custom = {
@@ -101,6 +102,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libimobiledevice libimobiledevice
ifuse # optional, to mount using 'ifuse' ifuse # optional, to mount using 'ifuse'
gimp3.gimp
]; ];
nixpkgs.config.permittedInsecurePackages = [ nixpkgs.config.permittedInsecurePackages = [
@@ -155,10 +157,6 @@
EndSection EndSection
''; '';
#zenpower for ryzen
boot.extraModulePackages = with config.boot.kernelPackages; [ zenpower ];
boot.kernelModules = [ "zenpower" ];
boot.blacklistedKernelModules = [ "k10temp" ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;