mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
42 lines
808 B
Nix
42 lines
808 B
Nix
{
|
|
programs.fastfetch = {
|
|
enable = true;
|
|
settings = {
|
|
logo = {
|
|
source = "nixos_small";
|
|
padding = {
|
|
right = 1;
|
|
};
|
|
};
|
|
display = {
|
|
binaryPrefix = "si";
|
|
color = "blue";
|
|
separator = " ";
|
|
};
|
|
modules = [
|
|
{
|
|
type = "datetime";
|
|
key = "Date";
|
|
format = "{1}-{3}-{11}";
|
|
}
|
|
{
|
|
type = "datetime";
|
|
key = "Time";
|
|
format = "{14}:{17}:{20}";
|
|
}
|
|
"break"
|
|
"player"
|
|
"media"
|
|
];
|
|
};
|
|
};
|
|
|
|
nmt.script =
|
|
let
|
|
configFile = "home-files/.config/fastfetch/config.jsonc";
|
|
in
|
|
''
|
|
assertFileExists "${configFile}"
|
|
assertFileContent "${configFile}" ${./basic-configuration.jsonc}
|
|
'';
|
|
}
|