chore: set hostname by var, remove trash, add missing ssh files
This commit is contained in:
parent
551800c69b
commit
395fe1d235
1
.gitignore
vendored
1
.gitignore
vendored
@ -9,7 +9,6 @@ secrets/ssh_config/*.*
|
||||
!secrets/ssh_config/*.gpg
|
||||
secrets/*.*
|
||||
!secrets/*.gpg
|
||||
secrets/id_ed25519
|
||||
|
||||
# SHA256 hashes of the encrypted secrets
|
||||
*.sha256
|
@ -36,6 +36,7 @@ config:
|
||||
sources:
|
||||
mennos-laptop: ~/dotfiles/config/ssh/authorized_keys/mennos-laptop
|
||||
mennos-desktop: ~/dotfiles/config/ssh/authorized_keys/mennos-desktop
|
||||
mennos-gamingpc: ~/dotfiles/config/ssh/authorized_keys/mennos-gamingpc
|
||||
homeserver-pc: ~/dotfiles/config/ssh/authorized_keys/homeserver-pc
|
||||
target: ~/.ssh/authorized_keys
|
||||
chmod: 600
|
||||
@ -77,7 +78,6 @@ config:
|
||||
url: git@github.com:tradaware/infra.git
|
||||
branch: main
|
||||
target: ~/Projects/Work
|
||||
|
||||
|
||||
# Packages to install
|
||||
# Note: Uninstalling packages is not supported, if you remove a package from this list it will not be removed from the system!
|
||||
@ -92,85 +92,3 @@ config:
|
||||
- gnome-extensions-cli
|
||||
- bauh
|
||||
- shyaml
|
||||
|
||||
# No longer supported:
|
||||
# apt:
|
||||
# repos:
|
||||
# apps:
|
||||
# - bash
|
||||
# - bash-completion
|
||||
# - solaar
|
||||
# - git
|
||||
# - curl
|
||||
# - wget
|
||||
# - gpg
|
||||
# - nala
|
||||
# - ca-certificates
|
||||
# - gnupg-agent
|
||||
# - software-properties-common
|
||||
# - apt-transport-https
|
||||
# - vim
|
||||
# - sl
|
||||
# - jq
|
||||
# - gh
|
||||
# - libglvnd-dev
|
||||
# - libwayland-dev
|
||||
# - libseat-dev
|
||||
# - libxkbcommon-dev
|
||||
# - libinput-dev
|
||||
# - udev
|
||||
# - dbus
|
||||
# - liblzma-dev
|
||||
# - libreadline-dev
|
||||
# - libdbus-1-dev
|
||||
# - libsystemd-dev
|
||||
# - libpixman-1-dev
|
||||
# - libssl-dev
|
||||
# - libflatpak-dev
|
||||
# - libpulse-dev
|
||||
# - libexpat1-dev
|
||||
# - libfontconfig-dev
|
||||
# - libfreetype-dev
|
||||
# - mold
|
||||
# - clang
|
||||
# - libgtk-3-dev
|
||||
# - gcc
|
||||
# - gcc-mingw-w64
|
||||
# - btop
|
||||
# - htop
|
||||
# - libgbm-dev
|
||||
# - libclang-dev
|
||||
# - libsecret-1-dev
|
||||
# - libpipewire-0.3-dev
|
||||
# - libpam0g-dev
|
||||
# - openssh-server
|
||||
# - build-essential
|
||||
# - flatpak
|
||||
# - meson
|
||||
# - pipx
|
||||
# - python3-nautilus
|
||||
# - gettext
|
||||
# - fzf
|
||||
# - fastfetch
|
||||
# - screenfetch
|
||||
# - screen
|
||||
# - code
|
||||
# - 1password
|
||||
# - 1password-cli
|
||||
# - flameshot
|
||||
# - cmake
|
||||
# - libsqlite3-dev
|
||||
# - libudev-dev
|
||||
# - libncursesw5-dev
|
||||
# - libgdbm-dev
|
||||
# - libc6-dev
|
||||
# - libbz2-dev
|
||||
# - libffi-dev
|
||||
# - tk-dev
|
||||
# - cmatrix
|
||||
# - toilet
|
||||
# - oneko
|
||||
# - libaa-bin
|
||||
# - libcurses-perl
|
||||
# - xdotool
|
||||
# - xclip
|
||||
|
@ -106,6 +106,9 @@
|
||||
allowedUDPPorts = [ ];
|
||||
};
|
||||
|
||||
# Set hostname to DOTF_HOSTNAME if defined, otherwise use the hostname of the system.
|
||||
networking.hostName = builtins.getEnv "DOTF_HOSTNAME";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
|
@ -14,7 +14,6 @@
|
||||
modules = [
|
||||
./hardware/mennos-laptop.nix
|
||||
./configuration.nix
|
||||
{ networking.hostName = "mennos-laptop"; }
|
||||
];
|
||||
};
|
||||
"mennos-gamingpc" = nixpkgs.lib.nixosSystem {
|
||||
@ -22,7 +21,6 @@
|
||||
modules = [
|
||||
./hardware/mennos-gamingpc.nix
|
||||
./configuration.nix
|
||||
{ networking.hostName = "mennos-desktop"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
2
config/ssh/authorized_keys/homeserver-pc
Normal file
2
config/ssh/authorized_keys/homeserver-pc
Normal file
@ -0,0 +1,2 @@
|
||||
# This is the authrorized_keys file for the user mennos-laptop
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
2
config/ssh/authorized_keys/mennos-gamingpc
Normal file
2
config/ssh/authorized_keys/mennos-gamingpc
Normal file
@ -0,0 +1,2 @@
|
||||
# This is the authrorized_keys file for the user mennos-desktop
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+sKpcREOUjwMMSzEWAso6830wbOi8kUxqpuXWw5gHr
|
@ -1 +0,0 @@
|
||||
../../secrets/id_ed25519
|
@ -1 +0,0 @@
|
||||
../../secrets/id_ed25519.pub
|
Loading…
x
Reference in New Issue
Block a user