From 363d470386dd6005bca9cbb2c410987d0bacf799 Mon Sep 17 00:00:00 2001 From: biscuit Date: Thu, 5 Jun 2025 16:35:01 -0500 Subject: [PATCH] upd --- flake.nix | 2 +- nixos/desktop/configuration.nix | 7 ++++++- pkgs/rofi/default.nix | 16 +--------------- system/desktop/wayland.nix | 4 ++-- 4 files changed, 10 insertions(+), 19 deletions(-) diff --git a/flake.nix b/flake.nix index 8258432..600b273 100644 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,7 @@ info = import ./info.nix; lib = nixpkgs.lib; system = "x86_64-linux"; - pkgs = nixpkgs.legacyPackages.${system}; # alternative, without overlays. Unused. + # pkgs = nixpkgs.legacyPackages.${system}; # alternative, without overlays. Unused. args = { inherit inputs system; diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index a6d2e71..b692402 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -20,6 +20,11 @@ nixpkgs.config.allowUnfree = allowUnfree; - nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings = { + trusted-users = [ + "lsoriano" + ]; + experimental-features = ["nix-command" "flakes"]; + }; system.stateVersion = "25.05"; } diff --git a/pkgs/rofi/default.nix b/pkgs/rofi/default.nix index 3b8af23..729125b 100644 --- a/pkgs/rofi/default.nix +++ b/pkgs/rofi/default.nix @@ -1,22 +1,8 @@ -{pkgs, ...}: let - rofiSource = pkgs.fetchFromGitHub { - owner = "adi1090x"; - repo = "rofi"; - rev = "b76c16b2b7c465d7b082e11e5210fcd10c6683a7"; - hash = "sha256-9IHENxHQors2z3aYj/xToZD79Gmi1aqlE3QnKnvOT9A="; - }; - # wofiSource = builtins.toPath ./launcher; -in { +{pkgs, ...}: { programs.rofi = { enable = true; plugins = with pkgs; [ rofi-calc ]; }; - - home.file.".config/rofi" = { - source = rofiSource; - recursive = true; - force = true; - }; } diff --git a/system/desktop/wayland.nix b/system/desktop/wayland.nix index 86833cf..b230198 100644 --- a/system/desktop/wayland.nix +++ b/system/desktop/wayland.nix @@ -10,8 +10,8 @@ ]; programs.hyprland = { enable = true; - package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; - portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + # package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + # portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; hardware = { graphics.enable = true;