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";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
inputs = rec {
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs = nixpkgs-unstable;
home-manager = {
url = "github:nix-community/home-manager/release-24.05";
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};

View File

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

View File

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

View File

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

View File

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

View File

@ -6,12 +6,16 @@
# pull packages into your overlay.
#
# All other arguments for this function are your flake inputs.
{ nixpkgs-unstable, ... }:
{ nixpkgs-stable, nixpkgs-unstable, ... }:
final: prev: {
# unstable = nixpkgs-unstable.legacyPackages.${prev.system};
# use this variant if unfree packages are needed:
unstable = import nixpkgs-unstable {
system = prev.system;
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; [
bash
hyprshot
gnome.zenity
zenity
];
dontBuild = true;

View File

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