...
This commit is contained in:
@@ -17,4 +17,11 @@
|
||||
fonts.fonts = with pkgs; [
|
||||
hack-font
|
||||
];
|
||||
|
||||
users.users.me.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjgXf9S9hxjyph2EEFh1el0z4OUT9fMoFAaDanjiuKa me@main"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICWsqiz0gEepvPONYxqhKKq4Vxfe1h+jo11k88QozUch me@bitwarden"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAioUu4ow6k+OMjjLdzogiQM4ZEM3TNekGNasaSDzQQE me@phone"
|
||||
];
|
||||
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ self, config, ... }:
|
||||
{ self, config, inputs, ... }:
|
||||
{
|
||||
users.users.me = {
|
||||
isNormalUser = true;
|
||||
@@ -12,6 +12,13 @@
|
||||
hostname = config.networking.hostName;
|
||||
};
|
||||
|
||||
home-manager.users.me = import ./home-headless.nix;
|
||||
home-manager.users.me = import ../common/home.nix;
|
||||
|
||||
users.users.me.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFjgXf9S9hxjyph2EEFh1el0z4OUT9fMoFAaDanjiuKa me@main"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICWsqiz0gEepvPONYxqhKKq4Vxfe1h+jo11k88QozUch me@bitwarden"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAioUu4ow6k+OMjjLdzogiQM4ZEM3TNekGNasaSDzQQE me@phone"
|
||||
];
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
{ config, pkgs, self, secretsDir, inputs, persistentDir, ... }:
|
||||
{
|
||||
# The home.stateVersion option does not have a default and must be set
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
imports = [
|
||||
inputs.nix-index-database.hmModules.nix-index
|
||||
|
||||
# all my headless programms with their own config
|
||||
../../programs/git.nix
|
||||
../../programs/lf/default.nix
|
||||
../../programs/bash.nix
|
||||
../../programs/ssh.nix
|
||||
../../programs/neovim.nix
|
||||
];
|
||||
|
||||
programs.nix-index.enable = false;
|
||||
programs.nix-index.enableBashIntegration = false;
|
||||
programs.nix-index.enableZshIntegration = false;
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
home.sessionPath = [ "${self}/mybin" ];
|
||||
home.file = {
|
||||
".rclone.conf".source = config.lib.file.mkOutOfStoreSymlink "${secretsDir}/rclone-conf";
|
||||
".subversion/config".text = ''
|
||||
[miscellany]
|
||||
global-ignores = node_modules target
|
||||
''; # documentation for this config file: https://svnbook.red-bean.com/en/1.7/svn.advanced.confarea.html
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
vim
|
||||
tree
|
||||
htop
|
||||
subversion
|
||||
pv
|
||||
nodejs
|
||||
neofetch
|
||||
file
|
||||
lshw
|
||||
zip
|
||||
unzip
|
||||
arp-scan
|
||||
lolcat
|
||||
comma
|
||||
delta
|
||||
jq
|
||||
wget
|
||||
tmux
|
||||
# python....
|
||||
(python310.withPackages (p: with p; [
|
||||
pandas
|
||||
click
|
||||
click-aliases
|
||||
]))
|
||||
(busybox.overrideAttrs (final: prev: {
|
||||
# get only nslookup from busybox
|
||||
# because the less would overwrite the actuall less and the busybox does not have -r
|
||||
# it's a pfusch, but it works
|
||||
postInstall = prev.postInstall + ''
|
||||
echo ============ removing anything but nslookup ============
|
||||
mv $out/bin/nslookup $out/nslookup
|
||||
mv $out/bin/busybox $out/busybox
|
||||
|
||||
rm $out/bin/*
|
||||
|
||||
mv $out/nslookup $out/bin/nslookup
|
||||
mv $out/busybox $out/bin/busybox
|
||||
'';
|
||||
}))
|
||||
];
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./home-headless.nix
|
||||
../common/home.nix
|
||||
|
||||
# my gui programs
|
||||
../../programs/alacritty.nix
|
||||
|
||||
Reference in New Issue
Block a user