From 9eeacaf66b56e96ac463dc46193c8f58e8d84db1 Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 15 Jun 2023 14:30:19 +0200 Subject: [PATCH] fix: various hm-only fixes --- .justfile | 2 +- flake.nix | 3 ++- home/lib.nix | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.justfile b/.justfile index f906e14..9c3d152 100644 --- a/.justfile +++ b/.justfile @@ -21,7 +21,7 @@ build *args: @just rebuild build {{args}} home *args: - nix run ".#homeConfigurations.winston.activationPackage" + nix run ".#homeConfigurations.winston.activationPackage" --accept-flake-config {{args}} [linux] boot *args: diff --git a/flake.nix b/flake.nix index 85dc0b7..9a3baf7 100644 --- a/flake.nix +++ b/flake.nix @@ -63,6 +63,7 @@ }: { _module.args.pkgs = import inputs.nixpkgs { inherit system; + config.allowUnfree = true; overlays = [overlays]; }; @@ -115,7 +116,7 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "pre-commit-hooks.cachix.org-1:Pkk3Panw5AW24TOv6kz3PvLhlH8puAsJTBbOPmBo7Rc=" ]; - extra-trusted-users = ["@wheel"]; + extra-trusted-users = ["@sudo" "@wheel"]; tarball-ttl = 604800; warn-dirty = false; }; diff --git a/home/lib.nix b/home/lib.nix index b3e178f..494e98d 100644 --- a/home/lib.nix +++ b/home/lib.nix @@ -17,7 +17,6 @@ else if pkgs.stdenv.isDarwin then "/Users/${username}" else throw "Unsupported system"; - home.stateVersion = "23.05"; home.username = username; targets.genericLinux.enable = true; xdg.mime.enable = true; @@ -28,6 +27,7 @@ sops.homeManagerModules.sops caarlos0-nur.homeManagerModules.default nekowinston-nur.homeManagerModules.default + ./. ] ++ pkgs.lib.optionals (!isNixOS) [hmStandaloneConfig]; }