flake: rework modules folder structure
This commit is contained in:
parent
5d64c56d40
commit
0952665f6b
56 changed files with 3 additions and 3 deletions
42
modules/home/cliPrograms/fastfetch/config.jsonc
Normal file
42
modules/home/cliPrograms/fastfetch/config.jsonc
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{
|
||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||
"logo": {
|
||||
"padding": {
|
||||
"top": 2
|
||||
}
|
||||
},
|
||||
"modules": [
|
||||
"title",
|
||||
"separator",
|
||||
"os",
|
||||
"host",
|
||||
"kernel",
|
||||
"uptime",
|
||||
"packages",
|
||||
"shell",
|
||||
"editor",
|
||||
"wm",
|
||||
"theme",
|
||||
"font",
|
||||
"terminal",
|
||||
{
|
||||
"type": "display"
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"showPeCoreCount": true
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"driverSpecific": true
|
||||
},
|
||||
"memory",
|
||||
"physicalmemory",
|
||||
"poweradapter",
|
||||
"player",
|
||||
"bluetooth",
|
||||
"gamepad",
|
||||
"break",
|
||||
"colors"
|
||||
]
|
||||
}
|
||||
13
modules/home/cliPrograms/fastfetch/default.nix
Normal file
13
modules/home/cliPrograms/fastfetch/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.settings.programs.fastfetch = {
|
||||
enable = lib.mkEnableOption "enable fastfetch";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.settings.programs.fastfetch.enable {
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = builtins.fromJSON (builtins.readFile ./config.jsonc);
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue