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,9 +1,13 @@
{ system, inputs }:
inputs.home-manager.nixosModules.home-manager
{ system, inputs, ... }:
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.alex = import ./config/users/alex;
home-manager.extraSpecialArgs = { ff = inputs.firefox-addons.packages.${system}; };
modules = [
inputs.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 = inputs.firefox-addons.packages.${system}; };
}
];
}

View File

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

View File

@ -22,6 +22,17 @@
};
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 = {
## ---- personal computers (linux) ----
@ -44,8 +55,9 @@
system = "x86_64-linux";
modules = [
./config/systems/thelio76
./config/modules/home-manager.nix
{ inherit system inputs; }
(import ./config/modules/home-manager.nix {
inherit system inputs;
})
# home-manager.nixosModules.home-manager
# {
# home-manager.useGlobalPkgs = true;