Add Colmena to manage systems, use better pathing for smallfetch, use better mountpoints and hostnames from Colema

This commit is contained in:
Bun 2025-06-01 06:17:48 -04:00
parent 215ad6b1a7
commit 1f7d01bb4d
53 changed files with 254 additions and 166 deletions

View file

@ -2,6 +2,7 @@
{
home.packages = with pkgs; [
bc
colmena
ncdu
p7zip
vimv

View file

@ -11,7 +11,6 @@
./lazygit
./ncmpcpp
./neovim
./nh
./nix-index
./ranger
./ssh

View file

@ -1,9 +1,11 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
home.packages = with pkgs; with lib; with config.home; with config.xdg; [
(writeScriptBin "smallfetch" ''
#!/bin/sh
fastfetch --config ${builtins.toString ./config.jsonc}
fastfetch --config ${removePrefix "${homeDirectory}/" configHome}/fastfetch/small.jsonc
'')
];
xdg.configFile."fastfetch/small.jsonc".source = ./small.jsonc;
}

View file

@ -1,12 +0,0 @@
{ config, ... }:
{
programs.nh = {
enable = true;
flake = "${config.xdg.userDirs.extraConfig.XDG_PROJECTS_DIR}/nixos-config";
};
home.shellAliases = {
nhs = "nh os switch";
nht = "nh os test";
};
}

View file

@ -8,9 +8,9 @@
./rofi
./swayidle
./swaylock
./wallpapers
./waybar
./wlsunset
./wpaperd
];
home.packages = with pkgs; lib.mkIf config.home.desktop.enable [

View file

@ -12,7 +12,7 @@ in {
package = pkgs.swaylock-effects;
settings = {
clock = true;
image = builtins.toString ./lock.png;
image = ".wallpapers/lock.png";
font = config.look.fonts.main;
font-size = 30;
timestr = "%I:%M%p";

View file

@ -0,0 +1,8 @@
{ config, lib, ... }:
{
imports = [ ./wpaperd ];
config = lib.mkIf config.home.desktop.enable {
home.file.".wallpapers".source = ./photos;
};
}

View file

Before

Width:  |  Height:  |  Size: 2 MiB

After

Width:  |  Height:  |  Size: 2 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

Before After
Before After

View file

@ -0,0 +1,12 @@
{ config, ... }:
{
services.wpaperd = {
enable = config.home.desktop.enable;
settings = {
default.mode = "center";
any.path = ".wallpapers/1.png";
"${config.displays.tower2}".path = ".wallpapers/2.png";
"${config.displays.tower3}".path = ".wallpapers/3.png";
};
};
}

View file

@ -1,12 +0,0 @@
{ config, ... }:
{
services.wpaperd = {
enable = config.home.desktop.enable;
settings = {
default.mode = "center";
any.path = builtins.toString ./wallpapers/1.png;
"${config.displays.tower2}".path = builtins.toString ./wallpapers/2.png;
"${config.displays.tower3}".path = builtins.toString ./wallpapers/3.png;
};
};
}