add desktop base and laptop modules
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.base = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "base settings";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.base {
|
||||
smayzy = {
|
||||
nvf.enable = true;
|
||||
nh.enable = true;
|
||||
fzf.enable = true;
|
||||
zsh.enable = true;
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./desktop.nix
|
||||
./laptop.nix
|
||||
./base.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.desktop.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "desktop settings";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.desktop.enable {
|
||||
smayzy = {
|
||||
base = true;
|
||||
steam.enable = true;
|
||||
prism.enable = true;
|
||||
firefox.enable = true;
|
||||
stylix.enable = true;
|
||||
audio.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.laptop.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "laptop settings";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.laptop.enable {
|
||||
smayzy = {
|
||||
base = true;
|
||||
prism.enable = true;
|
||||
firefox.enable = true;
|
||||
stylix.enable = true;
|
||||
audio.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user