mv firefox to module
This commit is contained in:
1 parent
3bb89d0b97
commit
6966de63c9
4 files changed
+23
-2
No files matched your search
@@ -12,6 +12,7 @@
|
||||
steam.enable = true;
|
||||
prism.enable = true;
|
||||
fzf.enable = true;
|
||||
firefox.enable = true;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
@@ -97,7 +98,5 @@
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox.enable = true;
|
||||
|
||||
programs.zsh.enable = true;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./firefox.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.firefox.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "firefox";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.firefox.enable {
|
||||
programs.firefox.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
./hardware
|
||||
./virt
|
||||
./games
|
||||
./browser
|
||||
];
|
||||
|
||||
# Timzone and locales (same for all machines so I put it here)
|
||||
|
||||
Reference in new issue
Block a user