moved logic for default home manager

This commit is contained in:
John Lancaster
2025-07-04 10:55:46 -05:00
parent c94094a83d
commit 82dfb95bde
2 changed files with 25 additions and 28 deletions

View File

@@ -44,35 +44,7 @@
homeManagerModules.default = { ... }: {
imports = [
# ./nixosModules/options.nix
./homeManagerModules
inputs._1password-shell-plugins.hmModules.default
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"1password-cli"
"discord"
"spotify"
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
"sublimetext4"
"vscode"
"vscode-extension-mhutchie-git-graph"
"vscode-extension-ms-vscode-remote-vscode-remote-extensionpack"
"vscode-extension-MS-python-vscode-pylance"
"vscode-extension-github-copilot"
];
nixpkgs.config.permittedInsecurePackages = [
"openssl-1.1.1w"
];
home.packages = with pkgs; [
(writeShellScriptBin "nhmu" ''
nix flake update --flake ~/.config/home-manager
nix run home-manager -- switch --flake ~/.config/home-manager
'')
];
};