Switch to nixos unstable

This commit is contained in:
Torjus Håkestad 2024-05-27 00:57:10 +02:00
parent a5c3c13c34
commit 25431075c0
6 changed files with 29 additions and 29 deletions

View File

@ -3,8 +3,8 @@
inputs = { inputs = {
# nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; # nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11"; nixpkgs-stable.url = "github:nixos/nixpkgs?ref=nixos-23.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager?ref=release-23.11"; url = "github:nix-community/home-manager?ref=release-23.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -17,7 +17,7 @@
outputs = outputs =
{ self { self
, nixpkgs , nixpkgs
, nixpkgs-unstable , nixpkgs-stable
, sops-nix , sops-nix
, notlistener , notlistener
, ghettoptt , ghettoptt
@ -26,8 +26,8 @@
let let
system = "x86_64-linux"; system = "x86_64-linux";
user = "torjus"; user = "torjus";
overlay-unstable = final: prev: { overlay-stable = final: prev: {
unstable = import nixpkgs-unstable { stable = import nixpkgs-stable {
inherit system; inherit system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
@ -46,7 +46,7 @@
modules = [ modules = [
({ config, pkgs, ... }: { ({ config, pkgs, ... }: {
nixpkgs.overlays = [ nixpkgs.overlays = [
overlay-unstable overlay-stable
ghettoptt.overlays.default ghettoptt.overlays.default
]; ];
}) })
@ -60,7 +60,7 @@
modules = [ modules = [
({ config, pkgs, ... }: { ({ config, pkgs, ... }: {
nixpkgs.overlays = [ nixpkgs.overlays = [
overlay-unstable overlay-stable
notlistener.overlays.default notlistener.overlays.default
ghettoptt.overlays.default ghettoptt.overlays.default
]; ];

View File

@ -1,7 +1,7 @@
{ config, osConfig, pkgs, ... }: { { config, osConfig, pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
unstable.hypridle hypridle
]; ];
xdg.configFile = { xdg.configFile = {
"hypr/hypridle.conf" = { "hypr/hypridle.conf" = {

View File

@ -24,7 +24,7 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = pkgs.unstable.hyprland; package = pkgs.hyprland;
settings = { settings = {
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
"$shiftMainMod" = "SUPER_SHIFT"; "$shiftMainMod" = "SUPER_SHIFT";

View File

@ -1,7 +1,7 @@
{ config, osConfig, pkgs, ... }: { { config, osConfig, pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
unstable.hyprlock hyprlock
]; ];
xdg.configFile = { xdg.configFile = {
"hypr/hyprlock.conf" = { "hypr/hyprlock.conf" = {

View File

@ -12,19 +12,19 @@ in
age age
alacritty alacritty
bat bat
unstable.btop btop
# (unstable.btop.override { # (unstable.btop.override {
# cudaSupport = true; # cudaSupport = true;
# }) # })
bzip2 bzip2
croc croc
unstable.dust dust
easyeffects easyeffects
eza eza
fd fd
ffmpeg ffmpeg
file file
unstable.fzf fzf
go-task go-task
glib glib
jq jq
@ -39,7 +39,7 @@ in
pamixer pamixer
pinentry pinentry
pre-commit pre-commit
(unstable.prismlauncher.override { (prismlauncher.override {
withWaylandGLFW = true; withWaylandGLFW = true;
}) })
pulseaudio pulseaudio
@ -52,19 +52,19 @@ in
spotify spotify
spicetify-cli spicetify-cli
sshfs sshfs
unstable.tldr tldr
unstable.devenv devenv
unstable.ventoy ventoy
discord discord
zoxide zoxide
# k8s tools # k8s tools
unstable.talosctl talosctl
unstable.k9s k9s
unstable.cilium-cli cilium-cli
unstable.kubernetes-helm kubernetes-helm
unstable.cmctl cmctl
unstable.krew krew
# steam # steam
# steam-run # steam-run
@ -73,8 +73,8 @@ in
tokei tokei
unzip unzip
yt-dlp yt-dlp
unstable.zoom-us zoom-us
unstable.vmware-horizon-client vmware-horizon-client
# Editors # Editors
# vscode # vscode
@ -90,7 +90,7 @@ in
typescript typescript
# Py stuff # Py stuff
(unstable.python312.withPackages (p: with p; [ (python312.withPackages (p: with p; [
requests requests
ipython ipython
])) ]))
@ -103,7 +103,7 @@ in
rust-analyzer rust-analyzer
# blender # blender
(unstable.blender.override { (blender.override {
cudaSupport = withCuda; cudaSupport = withCuda;
}) })

View File

@ -3,10 +3,10 @@
programs.direnv = { programs.direnv = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
package = pkgs.unstable.direnv; package = pkgs.direnv;
nix-direnv = { nix-direnv = {
enable = true; enable = true;
package = pkgs.unstable.nix-direnv; package = pkgs.nix-direnv;
}; };
}; };
programs.zsh = { programs.zsh = {