From 6a0f54a305b6d0de16fdcf026b3d06c102faa0b4 Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Sat, 13 Jan 2024 21:46:14 +0300 Subject: [PATCH] Removed secrets submodule --- .gitmodules | 3 --- hosts/laptop/hardware-configuration.nix | 2 +- hosts/laptop/mounts.nix | 3 +-- secrets | 1 - 4 files changed, 2 insertions(+), 7 deletions(-) delete mode 160000 secrets diff --git a/.gitmodules b/.gitmodules index 79063e8..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "secrets"] - path = secrets - url = git@git.disroot.org:lgmrszd/my-nix-secrets.git diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 65f2eb8..6f95ff8 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -4,7 +4,7 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, secrets, ... }: +{ config, lib, pkgs, modulesPath, ... }: let root = "/dev/vgmain/nixos"; in diff --git a/hosts/laptop/mounts.nix b/hosts/laptop/mounts.nix index 2737ec6..b3ad404 100644 --- a/hosts/laptop/mounts.nix +++ b/hosts/laptop/mounts.nix @@ -1,5 +1,4 @@ -{ secrets, ... }: -with secrets.drive-ids; { +{ systemd.mounts = [ { where = "/mounts/my_data"; diff --git a/secrets b/secrets deleted file mode 160000 index 527386a..0000000 --- a/secrets +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 527386a2f978b930d5b38e4cc369f3c8146d0363