🚚 [shared] Added shared config that shared desktop config inherits from
This commit is contained in:
3
shared/base/home-manager/default.nix
Normal file
3
shared/base/home-manager/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ./ssh.nix ];
|
||||
}
|
@ -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
|
||||
{
|
3
shared/base/modules/default.nix
Normal file
3
shared/base/modules/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
imports = [ ./networking.nix ];
|
||||
}
|
@ -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
|
||||
];
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
@ -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
|
Reference in New Issue
Block a user