From c5d1bd8a5219503c098f8bff07b94145db608933 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20R=C3=B6ger?= Date: Thu, 2 Oct 2025 00:03:54 +0200 Subject: [PATCH] Home Gen58 @ 2025-10-01-23:57 by jonas@monolith --- flake.lock | 71 +++++++++++++++++++++++++++++++---- flake.nix | 19 ++++++---- modules/programs/creative.nix | 10 ++++- 3 files changed, 85 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 2fea661..2c4a558 100644 --- a/flake.lock +++ b/flake.lock @@ -33,6 +33,27 @@ "type": "github" } }, + "audio": { + "inputs": { + "nix-buildproxy": "nix-buildproxy", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1757578366, + "narHash": "sha256-gPxQdaX0sP/ddT1g/TFHstcvBSGFnrrDHNaU9WBGnRc=", + "owner": "polygon", + "repo": "audio.nix", + "rev": "598aacc9542ca3f933fd7b63821587c566568e18", + "type": "github" + }, + "original": { + "owner": "polygon", + "repo": "audio.nix", + "type": "github" + } + }, "dzgui-nix": { "inputs": { "nixpkgs": [ @@ -441,6 +462,25 @@ "type": "github" } }, + "nix-buildproxy": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1708455753, + "narHash": "sha256-qP79WfPiTl92KrZkmvacba9Xas4WwSFln5DjkP2Q/Lg=", + "owner": "polygon", + "repo": "nix-buildproxy", + "rev": "77d486cb4b0458cb4c4a296c3140f7a6c36ab3e6", + "type": "github" + }, + "original": { + "owner": "polygon", + "ref": "v0.1.0", + "repo": "nix-buildproxy", + "type": "github" + } + }, "nixos-cosmic": { "inputs": { "flake-compat": "flake-compat_2", @@ -482,16 +522,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1758346548, - "narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=", - "owner": "nixos", + "lastModified": 1708118438, + "narHash": "sha256-kk9/0nuVgA220FcqH/D2xaN6uGyHp/zoxPNUmPCMmEE=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20", + "rev": "5863c27340ba4de8f83e7e3c023b9599c3cb3c80", "type": "github" }, "original": { - "owner": "nixos", - "ref": "nixos-25.05", + "owner": "NixOS", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } @@ -528,6 +568,22 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1758346548, + "narHash": "sha256-afXE7AJ7MY6wY1pg/Y6UPHNYPy5GtUKeBkrZZ/gC71E=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "b2a3852bd078e68dd2b3dfa8c00c67af1f0a7d20", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-25.05", + "repo": "nixpkgs", + "type": "github" + } + }, "plasma-manager": { "inputs": { "home-manager": [ @@ -576,6 +632,7 @@ }, "root": { "inputs": { + "audio": "audio", "dzgui-nix": "dzgui-nix", "firefox-addons": "firefox-addons", "home-manager": "home-manager", @@ -583,7 +640,7 @@ "hyprland-plugins": "hyprland-plugins", "nixos-cosmic": "nixos-cosmic", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "nixpkgs-unstable": "nixpkgs-unstable", "plasma-manager": "plasma-manager", "sops-nix": "sops-nix" diff --git a/flake.nix b/flake.nix index 9580c2d..ae3da58 100644 --- a/flake.nix +++ b/flake.nix @@ -38,6 +38,10 @@ url = "github:lelgenio/dzgui-nix"; inputs.nixpkgs.follows = "nixpkgs"; }; + audio = { + url = "github:polygon/audio.nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { @@ -47,6 +51,7 @@ nixos-hardware, home-manager, nixos-cosmic, + audio, ... } @ inputs: let system = "x86_64-linux"; @@ -65,7 +70,7 @@ isHM = false; }; modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: {nixpkgs.config.allowUnfree = true;}) nixos-hardware.nixosModules.msi-b550-a-pro inputs.sops-nix.nixosModules.sops @@ -80,7 +85,7 @@ isHM = false; }; modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: { nixpkgs.config.allowUnfree = true; nixpkgs.config.nvidia.acceptLicense = true; @@ -105,7 +110,7 @@ isHM = false; }; modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: {nixpkgs.config.allowUnfree = true;}) inputs.sops-nix.nixosModules.sops ./modules @@ -128,7 +133,7 @@ # Specify your home configuration modules here, for example, # the path to your home.nix. modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: {nixpkgs.config.allowUnfree = true;}) inputs.plasma-manager.homeManagerModules.plasma-manager inputs.sops-nix.homeManagerModules.sops @@ -149,7 +154,7 @@ # Specify your home configuration modules here, for example, # the path to your home.nix. modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: {nixpkgs.config.allowUnfree = true;}) inputs.plasma-manager.homeManagerModules.plasma-manager inputs.sops-nix.homeManagerModules.sops @@ -170,7 +175,7 @@ # Specify your home configuration modules here, for example, # the path to your home.nix. modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: {nixpkgs.config.allowUnfree = true;}) inputs.plasma-manager.homeManagerModules.plasma-manager inputs.sops-nix.homeManagerModules.sops @@ -191,7 +196,7 @@ # Specify your home configuration modules here, for example, # the path to your home.nix. modules = [ - ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default];}) + ({...}: {nixpkgs.overlays = [overlay-unstable self.overlays.default audio.overlays.default];}) ({...}: {nixpkgs.config.allowUnfree = true;}) inputs.plasma-manager.homeManagerModules.plasma-manager inputs.sops-nix.homeManagerModules.sops diff --git a/modules/programs/creative.nix b/modules/programs/creative.nix index e31b8b0..519d4bd 100644 --- a/modules/programs/creative.nix +++ b/modules/programs/creative.nix @@ -43,6 +43,13 @@ in { Enable heavy video editing tools. ''; }; + daws = lib.mkOption { + type = lib.types.bool; + default = false; + description = '' + Enable DAWs (currently bitwig beta) + ''; + }; }; config = lib.mkIf cfg.enable { @@ -61,6 +68,7 @@ in { davinci-resolve hive.transcode-davinci-resolve kdePackages.kdenlive - ]; + ] + ++ lib.optional cfg.daws bitwig-studio6-latest; }; }