thelio76: yolo

This commit is contained in:
Alex 2024-07-26 18:58:54 -04:00
parent fc5cfc0513
commit 577d977e4e
3 changed files with 26 additions and 9 deletions

View File

@ -1,4 +1,6 @@
{ system, inputs }: { system, inputs, ... }:
{
modules = [
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -7,3 +9,5 @@ inputs.home-manager.nixosModules.home-manager
home-manager.users.alex = import ./config/users/alex; home-manager.users.alex = import ./config/users/alex;
home-manager.extraSpecialArgs = { ff = inputs.firefox-addons.packages.${system}; }; home-manager.extraSpecialArgs = { ff = inputs.firefox-addons.packages.${system}; };
} }
];
}

View File

@ -74,6 +74,7 @@
extensions = with ff; [ extensions = with ff; [
darkreader darkreader
multi-account-containers multi-account-containers
simple-tab-groups
ublock-origin ublock-origin
umatrix umatrix
]; ];

View File

@ -22,6 +22,17 @@
}; };
outputs = { self, nixpkgs, home-manager, firefox-addons, ... }@inputs: outputs = { self, nixpkgs, home-manager, firefox-addons, ... }@inputs:
let
hmModule = system: (
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.alex = import ./config/users/alex;
home-manager.extraSpecialArgs = { ff = firefox-addons.packages.${system}; };
}
);
in
{ {
nixosConfigurations = { nixosConfigurations = {
## ---- personal computers (linux) ---- ## ---- personal computers (linux) ----
@ -44,8 +55,9 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./config/systems/thelio76 ./config/systems/thelio76
./config/modules/home-manager.nix (import ./config/modules/home-manager.nix {
{ inherit system inputs; } inherit system inputs;
})
# home-manager.nixosModules.home-manager # home-manager.nixosModules.home-manager
# { # {
# home-manager.useGlobalPkgs = true; # home-manager.useGlobalPkgs = true;