Add Colmena to manage systems, use better pathing for smallfetch, use better mountpoints and hostnames from Colema
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
home.packages = with pkgs; [
|
||||
bc
|
||||
colmena
|
||||
ncdu
|
||||
p7zip
|
||||
vimv
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
./lazygit
|
||||
./ncmpcpp
|
||||
./neovim
|
||||
./nh
|
||||
./nix-index
|
||||
./ranger
|
||||
./ssh
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
|
@ -8,9 +8,9 @@
|
|||
./rofi
|
||||
./swayidle
|
||||
./swaylock
|
||||
./wallpapers
|
||||
./waybar
|
||||
./wlsunset
|
||||
./wpaperd
|
||||
];
|
||||
|
||||
home.packages = with pkgs; lib.mkIf config.home.desktop.enable [
|
||||
|
|
|
@ -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";
|
||||
|
|
8
modules/home/wms/programs/wallpapers/default.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [ ./wpaperd ];
|
||||
|
||||
config = lib.mkIf config.home.desktop.enable {
|
||||
home.file.".wallpapers".source = ./photos;
|
||||
};
|
||||
}
|
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 314 KiB After Width: | Height: | Size: 314 KiB |
12
modules/home/wms/programs/wallpapers/wpaperd/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|