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"
}
},
"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": {
"locked": {
"lastModified": 1702780907,
@ -3432,6 +3448,7 @@
"nix-webring": "nix-webring",
"nixpak": "nixpak",
"nixpkgs": "nixpkgs_9",
"nixpkgs-small": "nixpkgs-small",
"nur": "nur",
"nvf": "nvf",
"pozsite": "pozsite",

View file

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

View file

@ -1,6 +1,7 @@
{
config,
lib,
inputs,
pkgs,
...
}: let
@ -50,7 +51,6 @@ in {
file
fastfetch
uutils-coreutils
anki
alsa-utils
ezquake
imagemagick
@ -76,7 +76,6 @@ in {
gomuks
twitch-tui
ytfzf
mat2
simplex-chat-desktop
libsixel
lsix
@ -114,5 +113,11 @@ in {
cpupower
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";
wl-copy = getExe' pkgs.wl-clipboard "wl-copy";
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";
wlsunset = getExe pkgs.wlsunset;
anyrun = getExe inputs.anyrun.packages.${pkgs.stdenv.system}.anyrun;
@ -164,12 +165,15 @@ in {
users.users.${username}.packages = attrValues {
inherit (pkgs)
cliphist
wl-clipboard
hyprpicker
ydotool
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})
hyprprop
grimblast