From 76fa8cf4e0dffee9d158173a28b6b3ea18f5eba9 Mon Sep 17 00:00:00 2001 From: chayleaf Date: Tue, 11 Apr 2023 16:50:37 +0700 Subject: [PATCH] systme: common->modules --- system/flake.nix | 6 +++--- system/{common => modules}/ccache.nix | 0 system/{common => modules}/vfio.nix | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename system/{common => modules}/ccache.nix (100%) rename system/{common => modules}/vfio.nix (100%) diff --git a/system/flake.nix b/system/flake.nix index 8b67d76..45308fb 100644 --- a/system/flake.nix +++ b/system/flake.nix @@ -17,7 +17,7 @@ }; }; - outputs = inputs@{ self, nixpkgs, utils, nixos-hardware, rust-overlay, impermanence, nix-gaming }: + outputs = inputs@{ self, nixpkgs, utils, nixos-hardware, impermanence, nix-gaming, ... }: let hw = nixos-hardware.nixosModules; # IRL-related stuff I'd rather not put into git @@ -26,8 +26,8 @@ in utils.lib.mkFlake { inherit self inputs; hostDefaults.modules = [ - ./common/vfio.nix - ./common/ccache.nix + ./modules/vfio.nix + ./modules/ccache.nix { # make this flake's nixpkgs available to the whole system nix = { diff --git a/system/common/ccache.nix b/system/modules/ccache.nix similarity index 100% rename from system/common/ccache.nix rename to system/modules/ccache.nix diff --git a/system/common/vfio.nix b/system/modules/vfio.nix similarity index 100% rename from system/common/vfio.nix rename to system/modules/vfio.nix