update aurora

This commit is contained in:
2026-03-07 17:38:02 -06:00
parent c00be80234
commit 1636b715b5
2 changed files with 6 additions and 31 deletions

View File

@@ -1,15 +1,6 @@
{ inputs, ... }: {
{ ... }: {
flake.homeModules.nathan = { config, lib, pkgs, ... }: let
system = "x86_64-linux";
pkgs-us = import inputs.nixpkgs-us {
inherit system;
config.allowUnfree = true;
};
in {
flake.homeModules.nathan = { config, lib, pkgs, ... }: {
options = {
homeconfig.scripts.enable = lib.options.mkOption {
@@ -19,22 +10,6 @@
};
config = lib.mkMerge [
(lib.mkIf (config.homeconfig.hyprland.enable && config.homeconfig.scripts.enable) {
home.packages = [
(pkgs.writeShellScriptBin "hyprrun" ''
${pkgs-us.runapp}/bin/runapp ''$@
#uwsm app -- ''$@
'')
];
})
(lib.mkIf (!config.homeconfig.hyprland.enable && config.homeconfig.scripts.enable) {
home.packages = [
(pkgs.writeShellScriptBin "hyprrun" ''
eval "''$@"
'')
];
})
(lib.mkIf config.homeconfig.scripts.enable {
home.packages = [