84 lines
1.8 KiB
Nix
84 lines
1.8 KiB
Nix
{ config, pkgs, lib, self, ... }:
|
|
with lib;
|
|
let
|
|
psCfg = config.pub-solar;
|
|
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
|
|
in
|
|
{
|
|
imports = [
|
|
];
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
pub-solar.graphical.autologin.enable = false;
|
|
|
|
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
|
|
xdg.configFile = mkIf psCfg.sway.enable {
|
|
"sway/config.d/10-input-language.conf".source = ./.config/sway/config.d/input-language.conf;
|
|
};
|
|
home.packages = with pkgs; [
|
|
dig
|
|
fping
|
|
htop
|
|
keepassxc
|
|
ncdu
|
|
sysstat
|
|
tig
|
|
thunderbird
|
|
wlr-randr
|
|
];
|
|
|
|
programs.ssh = {
|
|
enable = true;
|
|
matchBlocks = {
|
|
"hsha" = {
|
|
hostname = "192.168.42.5";
|
|
user = "root";
|
|
port = 2222;
|
|
};
|
|
"media" = {
|
|
hostname = "192.168.42.11";
|
|
user = "root";
|
|
port = 2222;
|
|
};
|
|
"ringo" = {
|
|
hostname = "192.168.42.231";
|
|
user = "hensoko";
|
|
port = 22;
|
|
};
|
|
"giggles" = {
|
|
hostname = "192.168.42.232";
|
|
user = "hensoko";
|
|
port = 22;
|
|
};
|
|
"norman" = {
|
|
hostname = "192.168.42.233";
|
|
user = "hensoko";
|
|
port = 22;
|
|
};
|
|
"cox" = {
|
|
hostname = "192.168.42.234";
|
|
user = "hensoko";
|
|
port = 22;
|
|
};
|
|
"mail" = {
|
|
hostname = "mail.gssws.de";
|
|
user = "root";
|
|
port = 2222;
|
|
};
|
|
"data" = {
|
|
hostname = "data.gssws.de";
|
|
user = "root";
|
|
port = 2222;
|
|
};
|
|
"git.gssws.de" = {
|
|
hostname = "git.gssws.de";
|
|
user = "git";
|
|
port = 2222;
|
|
};
|
|
};
|
|
extraConfig = "PubKeyAcceptedKeyTypes +ssh-rsa";
|
|
};
|
|
};
|
|
}
|