Living on nixpkgs unstable now

This commit is contained in:
Julian Mutter 2024-10-06 14:13:12 +02:00
parent f19ce21672
commit f07ab92268
8 changed files with 37 additions and 32 deletions

View File

@ -1,12 +1,14 @@
{ {
description = "Home Manager configuration of julian"; description = "Home Manager configuration of julian";
inputs = { inputs = rec {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs = nixpkgs-unstable;
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.05"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@ -58,11 +58,11 @@
# neocmakelsp # cmake # neocmakelsp # cmake
# Rust setup # Rust setup
unstable.rustc rustc
unstable.rustfmt rustfmt
unstable.cargo cargo
unstable.clippy clippy
unstable.rust-analyzer rust-analyzer
# Further tools # Further tools
cntr # nix debugger cntr # nix debugger

View File

@ -10,7 +10,7 @@ with pkgs;
# makemkv # makemkv
audacity audacity
gnome.cheese cheese
zoom-us zoom-us
qutebrowser qutebrowser
@ -41,7 +41,7 @@ with pkgs;
tdesktop # telegram tdesktop # telegram
tealdeer tealdeer
gcolor2 # gcolor3 does not work gcolor3
# cups # cups
wget wget
nodejs nodejs
@ -68,8 +68,8 @@ with pkgs;
usbutils # lsusb usbutils # lsusb
pciutils # lspci pciutils # lspci
gnome.gnome-keyring gnome-keyring
gnome.seahorse seahorse
polkit_gnome polkit_gnome
nix-index nix-index
python3 python3
@ -151,7 +151,7 @@ with pkgs;
audible-cli audible-cli
unstable.path-of-building path-of-building
conda conda
watchexec # Run command when any file in current dir changes watchexec # Run command when any file in current dir changes

View File

@ -6,11 +6,11 @@ with pkgs;
shellcheck shellcheck
# Rust setup # Rust setup
unstable.rustc rustc
unstable.rustfmt rustfmt
unstable.cargo cargo
unstable.clippy clippy
unstable.rust-analyzer rust-analyzer
# Further tools # Further tools
lazygit lazygit
@ -18,7 +18,7 @@ with pkgs;
# makemkv # makemkv
audacity audacity
gnome.cheese cheese
zoom-us zoom-us
qutebrowser qutebrowser
@ -54,7 +54,7 @@ with pkgs;
tdesktop # telegram tdesktop # telegram
tealdeer tealdeer
gcolor2 # gcolor3 does not work gcolor3
# cups # cups
wget wget
gparted gparted
@ -83,8 +83,8 @@ with pkgs;
usbutils # lsusb usbutils # lsusb
pciutils # lspci pciutils # lspci
gnome.gnome-keyring gnome-keyring
gnome.seahorse seahorse
polkit_gnome polkit_gnome
nix-index nix-index
python3 python3
@ -162,7 +162,7 @@ with pkgs;
# cudaPackages.cudatoolkit # cudaPackages.cudatoolkit
# openmvg # openmvg
# colmapWithCuda # colmapWithCuda
unstable.path-of-building path-of-building
nheko nheko

View File

@ -3,11 +3,11 @@
with pkgs; with pkgs;
[ [
# Rust setup # Rust setup
unstable.rustc rustc
unstable.rustfmt rustfmt
unstable.cargo cargo
unstable.clippy clippy
unstable.rust-analyzer rust-analyzer
# Further tools # Further tools
cntr # nix debugger cntr # nix debugger

View File

@ -6,12 +6,16 @@
# pull packages into your overlay. # pull packages into your overlay.
# #
# All other arguments for this function are your flake inputs. # All other arguments for this function are your flake inputs.
{ nixpkgs-unstable, ... }: { nixpkgs-stable, nixpkgs-unstable, ... }:
final: prev: { final: prev: {
# unstable = nixpkgs-unstable.legacyPackages.${prev.system};
# use this variant if unfree packages are needed: # use this variant if unfree packages are needed:
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
system = prev.system; system = prev.system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
# use this variant if unfree packages are needed:
stable = import nixpkgs-stable {
system = prev.system;
config.allowUnfree = true;
};
} }

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
bash bash
hyprshot hyprshot
gnome.zenity zenity
]; ];
dontBuild = true; dontBuild = true;

View File

@ -157,7 +157,6 @@
}; };
# Sound # Sound
sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
# needed on aspi for audio to work properly # needed on aspi for audio to work properly