added files.nix as a place to keep hardcoded configurations, added a personal neofetch config to it

This commit is contained in:
pagedmov
2024-10-21 22:16:18 -04:00
parent d97c3fec5b
commit bb7a221775
2 changed files with 4 additions and 10 deletions

View File

@@ -1,10 +1,7 @@
{ self, ...}:
{
self,
pkgs,
...
}:
{
home.file.".config/neofetch/config".text = ''
home.file.".config/neofetch/config.conf".text = ''
username=$(whoami)
name_length=''${#username}
total_width=40
@@ -111,8 +108,4 @@ xoffset=0
stdout="off"
'';
movfetch = pkgs.writeShellScriptBin "movfetch" ''
neofetch --config $HOME/.config/neofetch/config
'';
}

View File

@@ -29,6 +29,7 @@ in {
./programs
./environment
./scripts
./files.nix
];
home = {
username = "${username}";