pinwheel: Move firefox module to pinwheel host

This commit is contained in:
Alexander Heldt
2023-08-19 11:08:22 +02:00
parent 2b58418093
commit 0bf0c08c33
3 changed files with 18 additions and 18 deletions

View File

@@ -11,6 +11,7 @@
./modules/age
./modules/ssh
./modules/syncthing
./modules/firefox
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];

View File

@@ -4,10 +4,6 @@
home.username = "alex";
home.homeDirectory = "/home/alex";
imports = [
./../../modules/firefox
];
home.packages = with pkgs; [
vim

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ home-manager, pkgs, ... }:
let
wrapped = pkgs.wrapFirefox pkgs.firefox-devedition-unwrapped {
extraPolicies = {
@@ -34,23 +34,26 @@ let
};
in
{
programs.firefox = {
enable = true;
home-manager.users.alex = {
programs.firefox = {
enable = true;
package = wrapped;
package = wrapped;
profiles = {
alex = {
id = 0;
name = "alex";
};
profiles = {
alex = {
id = 0;
name = "alex";
};
work = {
id = 1;
name = "work";
work = {
id = 1;
name = "work";
};
};
};
};
home.packages = [ ff ];
home.packages = [ ff ];
};
}