Tuning/refactoring/etc

This commit is contained in:
Don Harper 2026-05-16 22:36:47 -05:00
parent cdfcbf76e3
commit 73482423ee
28 changed files with 189 additions and 211 deletions

View file

@ -1,5 +1,7 @@
{ config, pkgs, ... }: {
{ config, pkgs, lib, ... }:
{
imports = [ ./bash_complition.nix ];
home.file.".bash_local".source = files/bash/bash_local;
home.file.".bash_aliases".source = files/bash/bash_aliases;
home.file.".bash_functions".source = files/bash/bash_functions;

View file

@ -1,10 +1,5 @@
{ config, pkgs, lib, inputs, osConfig ? null, ... }:
{
pkgs,
inputs,
osConfig,
config,
...
}: {
imports = [
./aerc.nix
./bash.nix
@ -29,6 +24,7 @@
# ./tui.nix
./vifm.nix
];
home.packages = with pkgs; [
inputs.naviterm.packages.${pkgs.stdenv.hostPlatform.system}.default
bc
@ -111,7 +107,7 @@
syncthing = {
enable = true;
guiAddress =
if osConfig.variables ? address
if osConfig != null && osConfig.variables ? address
then "${osConfig.variables.address}:8384"
else "127.0.0.1:8384";
overrideDevices = false;
@ -133,7 +129,7 @@
# enableBashIntegration = true;
# keys = "id_aur id_dsa id_ed25519 git C7E41C9F79C846984163693FCCD8E76F07EA701B";
# };
home.file.".links/links.cfg".source = files/links.cfg;
home.file.".links/links.cfg".source = ./files/links.cfg;
xdg.configFile."nix/nix.conf".text = ''
extra-experimental-features = flakes nix-command
'';

View file

@ -1,4 +1,7 @@
{ config, pkgs, ... }: {
{ config, pkgs, lib, ... }:
{
imports = [ ./bufferline.nix ];
programs.neovim = {
enable = true;
defaultEditor = false;
@ -59,5 +62,4 @@
vimux
];
};
imports = [ ./bufferline.nix ];
}

View file

@ -1,9 +1,12 @@
{
pkgs,
config,
lib,
inputs,
osConfig,
osConfig ? null,
...
}: {
}:
{
imports = [
./bash.nix
./btop.nix
@ -13,6 +16,7 @@
./ssh.nix
./topgrade.nix
];
home.packages = with pkgs; [
figlet
file
@ -49,7 +53,7 @@
enableSshSupport = true;
};
};
home.file.".links/links.cfg".source = files/links.cfg;
home.file.".links/links.cfg".source = ./files/links.cfg;
xdg.configFile."nix/nix.conf".text = ''
extra-experimental-features = flakes nix-command
'';