aboutsummaryrefslogtreecommitdiff
path: root/modules/common
diff options
context:
space:
mode:
Diffstat (limited to 'modules/common')
-rw-r--r--modules/common/default.nix8
-rw-r--r--modules/common/home.nix38
-rw-r--r--modules/common/host-config.nix15
-rw-r--r--modules/common/ssh.nix7
4 files changed, 0 insertions, 68 deletions
diff --git a/modules/common/default.nix b/modules/common/default.nix
deleted file mode 100644
index 5984f10..0000000
--- a/modules/common/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{ ... }:
-{
- imports = [
- ./home.nix
- ./host-config.nix
- ./ssh.nix
- ];
-}
diff --git a/modules/common/home.nix b/modules/common/home.nix
deleted file mode 100644
index 6b6b518..0000000
--- a/modules/common/home.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- userProfiles,
- lib,
- ...
-}:
-let
- inherit (lib) mkOption;
- inherit (lib.types)
- submodule
- listOf
- attrsOf
- str
- ;
-in
-{
- options = {
- home = mkOption {
- type = attrsOf (
- submodule (
- { name, ... }:
- {
- options = {
- name = mkOption {
- type = str;
- default = name;
- };
- profiles = mkOption {
- type = listOf str;
- apply = map (v: userProfiles.${v});
- };
- };
- }
- )
- );
- default = { };
- };
- };
-}
diff --git a/modules/common/host-config.nix b/modules/common/host-config.nix
deleted file mode 100644
index b10d85f..0000000
--- a/modules/common/host-config.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{ lib, ... }:
-let
- inherit (lib) mkOption;
- inherit (lib.types)
- attrs
- ;
-in
-{
- options = {
- adminUser = mkOption {
- type = attrs;
- default = { };
- };
- };
-}
diff --git a/modules/common/ssh.nix b/modules/common/ssh.nix
deleted file mode 100644
index 3e975ee..0000000
--- a/modules/common/ssh.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ ... }:
-{
- programs.ssh.knownHosts = {
- "github.com".publicKey =
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl";
- };
-}