From 63aa5e18d9e0a07badbb20bbc04d9def5a31f0b4 Mon Sep 17 00:00:00 2001 From: cy Date: Fri, 13 Dec 2024 11:44:22 -0500 Subject: [PATCH] home-manager use flake.nix nixpkgs config --- nix/flake.nix | 4 +++- nix/home/yt/ytnix.nix | 10 ---------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/nix/flake.nix b/nix/flake.nix index 61c5594..bcb4472 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -29,7 +29,9 @@ system: import nixpkgs { inherit system; - config.allowUnfree = true; + config = { + allowUnfree = true; + }; } ); in { diff --git a/nix/home/yt/ytnix.nix b/nix/home/yt/ytnix.nix index c1a3a3c..384aeba 100644 --- a/nix/home/yt/ytnix.nix +++ b/nix/home/yt/ytnix.nix @@ -15,16 +15,6 @@ systemd.user.startServices = "sd-switch"; - nixpkgs = { - config = { - allowUnfree = true; - chromium = { - enableWideVine = true; - commandLineArgs = "--ozone-platform-hint=wayland --enable-features=WebUIDarkMode"; - }; - }; - }; - qt = { enable = true; platformTheme.name = "gtk";