modified: flake.nix

modified:   hosts/nixos/home.nix
This commit is contained in:
2025-07-22 14:15:15 +10:00
parent bb1a4d8a3e
commit 79fb3799a9
2 changed files with 4 additions and 44 deletions
+3 -25
View File
@@ -8,39 +8,17 @@
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-webapp = {
url = "github:TLATER/dotfiles";
# optional: specify a ref/branch if needed
};
};
outputs = { self, nixpkgs, nixos-conf-editor, home-manager, firefox-webapp, ... } @ inputs:
outputs = { self, nixpkgs, nixos-conf-editor, home-manager, ... } @ inputs:
let system = "x86_64-linux"; in {
nixConfig = {
access-tokens = [
"github.com=***REMOVED***"
];
};
homeConfigurations = {
nixos = home-manager.lib.homeManagerConfiguration {
inherit nixpkgs;
extraSpecialArgs = inputs;
modules = [
inputs.firefox-webapp.home-modules.firefox-webapp
./hosts/nixos/home.nix # this file will now receive inputs
];
configuration = { config, pkgs, ... }: {
programs.firefox.enable = true;
graphical.enable = true;
graphical.webapps = {
# You can also define webapps here if you prefer
};
};
};
};
nixosConfigurations = {
# automatically use each host folder by name
nixos = nixpkgs.lib.nixosSystem {