pinwheel: Move firefox module to pinwheel host
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
./modules/age
|
||||
./modules/ssh
|
||||
./modules/syncthing
|
||||
./modules/firefox
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
@@ -5,10 +5,6 @@
|
||||
home.username = "alex";
|
||||
home.homeDirectory = "/home/alex";
|
||||
|
||||
imports = [
|
||||
./../../modules/firefox
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
vim
|
||||
emacs
|
||||
|
||||
@@ -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 ];
|
||||
}
|
||||
Reference in New Issue
Block a user