add envfetch and more

This commit is contained in:
MeexReay 2025-08-29 01:32:43 +03:00
parent 0e9ee6c888
commit 1a9aff7545
5 changed files with 88 additions and 15 deletions

85
flake.lock generated
View File

@ -1,5 +1,24 @@
{ {
"nodes": { "nodes": {
"envfetch": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1756331205,
"narHash": "sha256-zbqFaQ5cfnjurlTu+HxDlAbS3E6lDu7pIhDQkg1CEvw=",
"owner": "MeexReay",
"repo": "envfetch",
"rev": "f923953a6c1c927a8a3b6c2107ec11c0281ff3c1",
"type": "github"
},
"original": {
"owner": "MeexReay",
"repo": "envfetch",
"type": "github"
}
},
"flake-compat": { "flake-compat": {
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1696426674,
@ -32,6 +51,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -72,7 +109,7 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1753108595, "lastModified": 1753108595,
@ -91,18 +128,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1752866191, "lastModified": 1756256966,
"narHash": "sha256-NV4S2Lf2hYmZQ3Qf4t/YyyBaJNuxLPyjzvDma0zPp/M=", "narHash": "sha256-sSVfAOlYIK01ptcDImwkyDVfhGPy/muVa4e7xxbhgho=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f01fe91b0108a7aff99c99f2e9abbc45db0adc2a", "rev": "4c202d26483c5ccf3cb95e0053163facde9f047e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "id": "nixpkgs",
"ref": "nixos-25.05", "type": "indirect"
"repo": "nixpkgs",
"type": "github"
} }
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
@ -121,6 +156,22 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1752866191,
"narHash": "sha256-NV4S2Lf2hYmZQ3Qf4t/YyyBaJNuxLPyjzvDma0zPp/M=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f01fe91b0108a7aff99c99f2e9abbc45db0adc2a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1750622754, "lastModified": 1750622754,
"narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=", "narHash": "sha256-kMhs+YzV4vPGfuTpD3mwzibWUE6jotw5Al2wczI0Pv8=",
@ -138,10 +189,26 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"envfetch": "envfetch",
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
} }
} }
}, },

View File

@ -7,6 +7,7 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixcord.url = "github:KaylorBen/nixcord/411d48a6"; nixcord.url = "github:KaylorBen/nixcord/411d48a6";
nix-flatpak.url = "github:gmodena/nix-flatpak"; nix-flatpak.url = "github:gmodena/nix-flatpak";
envfetch.url = "github:MeexReay/envfetch";
}; };
outputs = inputs@{ nixpkgs, home-manager, ... }: { outputs = inputs@{ nixpkgs, home-manager, ... }: {
@ -20,6 +21,7 @@
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.users.user = import ./modules; home-manager.users.user = import ./modules;

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, inputs, ... }:
{ {
imports = [ imports = [
@ -55,6 +55,7 @@
pfetch neofetch fastfetch # i use nixos btw! pfetch neofetch fastfetch # i use nixos btw!
librespeed-cli librespeed-cli
inputs.envfetch.packages.x86_64-linux.default
(yt-dlp.overrideAttrs (oldAttrs: { (yt-dlp.overrideAttrs (oldAttrs: {
buildInputs = oldAttrs.buildInputs or [] ++ [ pkgs.makeWrapper ]; buildInputs = oldAttrs.buildInputs or [] ++ [ pkgs.makeWrapper ];
@ -88,7 +89,6 @@
ddnet ddnet
easyeffects easyeffects
kdePackages.kdeconnect-kde kdePackages.kdeconnect-kde
waydroid
gnome-text-editor gnome-text-editor
baobab baobab
gnome-system-monitor gnome-system-monitor

View File

@ -112,6 +112,7 @@
voiceDownload.enable = true; voiceDownload.enable = true;
voiceMessages.enable = true; voiceMessages.enable = true;
volumeBooster.enable = true; volumeBooster.enable = true;
translate.enable = true;
}; };
}; };
}; };

View File

@ -60,8 +60,8 @@
]; ];
kernelModules = [ kernelModules = [
"v4l2loopback" # for virtual camera in obs # "v4l2loopback" # for virtual camera in obs
"snd-aloop" # for sound tricks # "snd-aloop" # for sound tricks
]; ];
kernel.sysctl = { # disable ipv6 kernel.sysctl = { # disable ipv6
@ -238,5 +238,8 @@
setSocketVariable = true; setSocketVariable = true;
}; };
# waydroid
virtualisation.waydroid.enable = true;
system.stateVersion = "25.05"; system.stateVersion = "25.05";
} }