mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat(moto): tmux, hledger
This commit is contained in:
@@ -1,25 +1,41 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
niveumPackages,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
sshPort = 8022;
|
||||
in {
|
||||
environment.packages = with pkgs; [
|
||||
vim
|
||||
openssh
|
||||
curl
|
||||
findutils
|
||||
nil
|
||||
bzip2
|
||||
coreutils
|
||||
utillinux
|
||||
curl
|
||||
diffutils
|
||||
findutils
|
||||
git
|
||||
gnugrep
|
||||
gnupg
|
||||
gnused
|
||||
gnutar
|
||||
gzip
|
||||
hostname
|
||||
iproute2
|
||||
git
|
||||
which
|
||||
man
|
||||
openssh
|
||||
procps
|
||||
tzdata
|
||||
unzip
|
||||
utillinux
|
||||
vim
|
||||
which
|
||||
xz
|
||||
zip
|
||||
hledger
|
||||
hledger-ui
|
||||
niveumPackages.vim
|
||||
gitAndTools.gh
|
||||
ripgrep
|
||||
(pkgs.writers.writeDashBin "start-ssh" ''
|
||||
${pkgs.openssh}/bin/sshd -f ${pkgs.writeText "sshd_config" ''
|
||||
HostKey /data/data/com.termux.nix/files/home/.ssh/ssh_host_rsa_key
|
||||
@@ -28,16 +44,21 @@ in {
|
||||
'')
|
||||
];
|
||||
|
||||
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
backupFileExtension = "hm-bak";
|
||||
config = {pkgs, ...}: {
|
||||
home.stateVersion = "23.05";
|
||||
programs.tmux.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
LEDGER_FILE = "/data/data/com.termux.nix/files/home/src/ledger/privat.journal";
|
||||
};
|
||||
|
||||
user.shell = "${pkgs.fish}/bin/fish";
|
||||
|
||||
environment.etcBackupExtension = ".bak";
|
||||
|
||||
Reference in New Issue
Block a user