🚚 [shared] Added shared config that shared desktop config inherits from

This commit is contained in:
2025-05-20 21:52:00 +02:00
parent adb02fbcc2
commit 9a8cc63674
92 changed files with 41 additions and 25 deletions

View File

@ -0,0 +1,3 @@
{
imports = [ ./ssh.nix ];
}

View File

@ -1,5 +1,10 @@
# ~/.ssh/config
{ systemConfig, ... }:
{
systemConfig,
systems,
common,
...
}:
{
programs.ssh = {
@ -9,7 +14,7 @@
block = hostname: {
port = 22;
user = systemConfig.username;
hostname = "${hostname}.dns.martials.no";
hostname = "${hostname}.dns.${common.domain}";
};
in
{

View File

@ -0,0 +1,3 @@
{
imports = [ ./networking.nix ];
}

View File

@ -1,6 +1,7 @@
{
inputs,
outputs,
lib,
common,
systemConfig,
...
@ -10,6 +11,7 @@ let
in
{
imports = [
(lib.custom.relativeToBase "home-manager")
inputs.catppuccin.homeModules.catppuccin
./cursors.nix
./default-applications.nix
@ -25,7 +27,6 @@ in
./shell
./sioyek.nix
./spicetify.nix
./ssh.nix
./zen
];

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

@ -1,5 +1,8 @@
{ lib, ... }:
{
imports = [
(lib.custom.relativeToBase "modules")
./boot.nix
./development
./electron.nix
@ -11,7 +14,6 @@
./locale.nix
./mail.nix
./media.nix
./networking.nix
./nixos.nix
./nix-helper.nix
./office.nix