From 25431075c0698bc8d0d7ebc8cd5a968b0e28b5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Mon, 27 May 2024 00:57:10 +0200 Subject: [PATCH] Switch to nixos unstable --- flake.nix | 14 ++++++------- home/hyprland/hypridle.nix | 2 +- home/hyprland/hyprland_gunter.nix | 2 +- home/hyprland/hyprlock.nix | 2 +- home/packages/default.nix | 34 +++++++++++++++---------------- home/zsh/default.nix | 4 ++-- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/flake.nix b/flake.nix index 316c7fc..ddefb40 100644 --- a/flake.nix +++ b/flake.nix @@ -3,8 +3,8 @@ inputs = { # nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; - nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11"; - nixpkgs-unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + nixpkgs-stable.url = "github:nixos/nixpkgs?ref=nixos-23.11"; + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; home-manager = { url = "github:nix-community/home-manager?ref=release-23.11"; inputs.nixpkgs.follows = "nixpkgs"; @@ -17,7 +17,7 @@ outputs = { self , nixpkgs - , nixpkgs-unstable + , nixpkgs-stable , sops-nix , notlistener , ghettoptt @@ -26,8 +26,8 @@ let system = "x86_64-linux"; user = "torjus"; - overlay-unstable = final: prev: { - unstable = import nixpkgs-unstable { + overlay-stable = final: prev: { + stable = import nixpkgs-stable { inherit system; config.allowUnfree = true; }; @@ -46,7 +46,7 @@ modules = [ ({ config, pkgs, ... }: { nixpkgs.overlays = [ - overlay-unstable + overlay-stable ghettoptt.overlays.default ]; }) @@ -60,7 +60,7 @@ modules = [ ({ config, pkgs, ... }: { nixpkgs.overlays = [ - overlay-unstable + overlay-stable notlistener.overlays.default ghettoptt.overlays.default ]; diff --git a/home/hyprland/hypridle.nix b/home/hyprland/hypridle.nix index 0998d69..8def097 100644 --- a/home/hyprland/hypridle.nix +++ b/home/hyprland/hypridle.nix @@ -1,7 +1,7 @@ { config, osConfig, pkgs, ... }: { home.packages = with pkgs; [ - unstable.hypridle + hypridle ]; xdg.configFile = { "hypr/hypridle.conf" = { diff --git a/home/hyprland/hyprland_gunter.nix b/home/hyprland/hyprland_gunter.nix index adb87fd..50ed671 100644 --- a/home/hyprland/hyprland_gunter.nix +++ b/home/hyprland/hyprland_gunter.nix @@ -24,7 +24,7 @@ wayland.windowManager.hyprland = { enable = true; - package = pkgs.unstable.hyprland; + package = pkgs.hyprland; settings = { "$mainMod" = "SUPER"; "$shiftMainMod" = "SUPER_SHIFT"; diff --git a/home/hyprland/hyprlock.nix b/home/hyprland/hyprlock.nix index c4a7427..f9b52fc 100644 --- a/home/hyprland/hyprlock.nix +++ b/home/hyprland/hyprlock.nix @@ -1,7 +1,7 @@ { config, osConfig, pkgs, ... }: { home.packages = with pkgs; [ - unstable.hyprlock + hyprlock ]; xdg.configFile = { "hypr/hyprlock.conf" = { diff --git a/home/packages/default.nix b/home/packages/default.nix index 24403f2..adfa5a9 100644 --- a/home/packages/default.nix +++ b/home/packages/default.nix @@ -12,19 +12,19 @@ in age alacritty bat - unstable.btop + btop # (unstable.btop.override { # cudaSupport = true; # }) bzip2 croc - unstable.dust + dust easyeffects eza fd ffmpeg file - unstable.fzf + fzf go-task glib jq @@ -39,7 +39,7 @@ in pamixer pinentry pre-commit - (unstable.prismlauncher.override { + (prismlauncher.override { withWaylandGLFW = true; }) pulseaudio @@ -52,19 +52,19 @@ in spotify spicetify-cli sshfs - unstable.tldr - unstable.devenv - unstable.ventoy + tldr + devenv + ventoy discord zoxide # k8s tools - unstable.talosctl - unstable.k9s - unstable.cilium-cli - unstable.kubernetes-helm - unstable.cmctl - unstable.krew + talosctl + k9s + cilium-cli + kubernetes-helm + cmctl + krew # steam # steam-run @@ -73,8 +73,8 @@ in tokei unzip yt-dlp - unstable.zoom-us - unstable.vmware-horizon-client + zoom-us + vmware-horizon-client # Editors # vscode @@ -90,7 +90,7 @@ in typescript # Py stuff - (unstable.python312.withPackages (p: with p; [ + (python312.withPackages (p: with p; [ requests ipython ])) @@ -103,7 +103,7 @@ in rust-analyzer # blender - (unstable.blender.override { + (blender.override { cudaSupport = withCuda; }) diff --git a/home/zsh/default.nix b/home/zsh/default.nix index b183836..f48f46e 100644 --- a/home/zsh/default.nix +++ b/home/zsh/default.nix @@ -3,10 +3,10 @@ programs.direnv = { enable = true; enableZshIntegration = true; - package = pkgs.unstable.direnv; + package = pkgs.direnv; nix-direnv = { enable = true; - package = pkgs.unstable.nix-direnv; + package = pkgs.nix-direnv; }; }; programs.zsh = {