I hate this os so much I'm going insane

This commit is contained in:
jacekpoz 2024-10-17 23:59:23 +02:00
parent 55c2997f73
commit 836fc4ca89
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
4 changed files with 32 additions and 4 deletions

View file

@ -1340,6 +1340,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-small": {
"locked": {
"lastModified": 1729164558,
"narHash": "sha256-dgla/HMyeUIbs0Qtd9DLB4BKFNz+Z8rUO0pbaW5ie2M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8bddc04f2eecdadeb2a7ab3674bdafc27b933f76",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable-small",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1702780907, "lastModified": 1702780907,
@ -3432,6 +3448,7 @@
"nix-webring": "nix-webring", "nix-webring": "nix-webring",
"nixpak": "nixpak", "nixpak": "nixpak",
"nixpkgs": "nixpkgs_9", "nixpkgs": "nixpkgs_9",
"nixpkgs-small": "nixpkgs-small",
"nur": "nur", "nur": "nur",
"nvf": "nvf", "nvf": "nvf",
"pozsite": "pozsite", "pozsite": "pozsite",

View file

@ -15,6 +15,8 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
hyprlock = { hyprlock = {

View file

@ -1,6 +1,7 @@
{ {
config, config,
lib, lib,
inputs,
pkgs, pkgs,
... ...
}: let }: let
@ -50,7 +51,6 @@ in {
file file
fastfetch fastfetch
uutils-coreutils uutils-coreutils
anki
alsa-utils alsa-utils
ezquake ezquake
imagemagick imagemagick
@ -76,7 +76,6 @@ in {
gomuks gomuks
twitch-tui twitch-tui
ytfzf ytfzf
mat2
simplex-chat-desktop simplex-chat-desktop
libsixel libsixel
lsix lsix
@ -114,5 +113,11 @@ in {
cpupower cpupower
perf perf
; ;
inherit (inputs.nixpkgs-small.legacyPackages.${pkgs.stdenv.system})
# TODO: https://nixpk.gs/pr-tracker.html?pr=348419
mat2
# TODO: https://github.com/NixOS/nixpkgs/issues/348845
anki
;
}; };
} }

View file

@ -26,7 +26,8 @@
footclient = getExe' pkgs.foot "footclient"; footclient = getExe' pkgs.foot "footclient";
wl-copy = getExe' pkgs.wl-clipboard "wl-copy"; wl-copy = getExe' pkgs.wl-clipboard "wl-copy";
wl-paste = getExe' pkgs.wl-clipboard "wl-paste"; wl-paste = getExe' pkgs.wl-clipboard "wl-paste";
cliphist = getExe pkgs.cliphist; # TODO: https://nixpk.gs/pr-tracker.html?pr=348887
cliphist = getExe inputs.nixpkgs-small.legacyPackages.${pkgs.stdenv.system}.cliphist;
swww-daemon = getExe' pkgs.swww "swww-daemon"; swww-daemon = getExe' pkgs.swww "swww-daemon";
wlsunset = getExe pkgs.wlsunset; wlsunset = getExe pkgs.wlsunset;
anyrun = getExe inputs.anyrun.packages.${pkgs.stdenv.system}.anyrun; anyrun = getExe inputs.anyrun.packages.${pkgs.stdenv.system}.anyrun;
@ -164,12 +165,15 @@ in {
users.users.${username}.packages = attrValues { users.users.${username}.packages = attrValues {
inherit (pkgs) inherit (pkgs)
cliphist
wl-clipboard wl-clipboard
hyprpicker hyprpicker
ydotool ydotool
wev wev
; ;
# TODO: https://nixpk.gs/pr-tracker.html?pr=348887
inherit (inputs.nixpkgs-small.legacyPackages.${pkgs.stdenv.system})
cliphist
;
inherit (inputs.hyprcontrib.packages.${pkgs.stdenv.system}) inherit (inputs.hyprcontrib.packages.${pkgs.stdenv.system})
hyprprop hyprprop
grimblast grimblast