From a96c64e0a408fb6c67b877f31e073fe067c59301 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 22 Dec 2021 17:57:34 +0100 Subject: [PATCH] rename common to modules --- {common => modules}/cli-packages.nix | 0 {common => modules}/common.nix | 0 {common => modules}/desktop.nix | 0 {common => modules}/docker.nix | 0 {common => modules}/droidcam/default.nix | 0 {common => modules}/home-manager.nix | 0 {common => modules}/restic/default.nix | 2 +- {common => modules}/restic/excludes.txt | 0 systems/gwyn/configuration.nix | 2 +- systems/staubfinger/configuration.nix | 2 +- systems/vm/configuration.nix | 2 +- 11 files changed, 4 insertions(+), 4 deletions(-) rename {common => modules}/cli-packages.nix (100%) rename {common => modules}/common.nix (100%) rename {common => modules}/desktop.nix (100%) rename {common => modules}/docker.nix (100%) rename {common => modules}/droidcam/default.nix (100%) rename {common => modules}/home-manager.nix (100%) rename {common => modules}/restic/default.nix (80%) rename {common => modules}/restic/excludes.txt (100%) diff --git a/common/cli-packages.nix b/modules/cli-packages.nix similarity index 100% rename from common/cli-packages.nix rename to modules/cli-packages.nix diff --git a/common/common.nix b/modules/common.nix similarity index 100% rename from common/common.nix rename to modules/common.nix diff --git a/common/desktop.nix b/modules/desktop.nix similarity index 100% rename from common/desktop.nix rename to modules/desktop.nix diff --git a/common/docker.nix b/modules/docker.nix similarity index 100% rename from common/docker.nix rename to modules/docker.nix diff --git a/common/droidcam/default.nix b/modules/droidcam/default.nix similarity index 100% rename from common/droidcam/default.nix rename to modules/droidcam/default.nix diff --git a/common/home-manager.nix b/modules/home-manager.nix similarity index 100% rename from common/home-manager.nix rename to modules/home-manager.nix diff --git a/common/restic/default.nix b/modules/restic/default.nix similarity index 80% rename from common/restic/default.nix rename to modules/restic/default.nix index d3b392c..1b33f78 100644 --- a/common/restic/default.nix +++ b/modules/restic/default.nix @@ -7,7 +7,7 @@ passwordFile = "/home/andreas/git_repos/nixos/secrets/passwords/restic.key"; paths = [ "/home/andreas/" ]; extraBackupArgs = [ - "--exclude-file=/home/andreas/git_repos/nixos/common/restic/excludes.txt" + "--exclude-file=/home/andreas/git_repos/nixos/modules/restic/excludes.txt" ]; }; diff --git a/common/restic/excludes.txt b/modules/restic/excludes.txt similarity index 100% rename from common/restic/excludes.txt rename to modules/restic/excludes.txt diff --git a/systems/gwyn/configuration.nix b/systems/gwyn/configuration.nix index 3946367..b64fda2 100644 --- a/systems/gwyn/configuration.nix +++ b/systems/gwyn/configuration.nix @@ -7,7 +7,7 @@ { imports = [ - ../../common/desktop.nix + ../../modules/desktop.nix ../../hardware/bluetooth ./hardware-configuration.nix ]; diff --git a/systems/staubfinger/configuration.nix b/systems/staubfinger/configuration.nix index c086504..c94ba7e 100644 --- a/systems/staubfinger/configuration.nix +++ b/systems/staubfinger/configuration.nix @@ -8,7 +8,7 @@ imports = [ # Include the results of the hardware scan. - ../../common/desktop.nix + ../../modules/desktop.nix ../../hardware/bluetooth ./hardware-configuration.nix ]; diff --git a/systems/vm/configuration.nix b/systems/vm/configuration.nix index 2e22016..25e99ca 100644 --- a/systems/vm/configuration.nix +++ b/systems/vm/configuration.nix @@ -8,7 +8,7 @@ imports = [ # Include the results of the hardware scan. - ../../common/desktop.nix + ../../modules/desktop.nix ./hardware-configuration.nix ];