about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-01 15:31:53 +0900
committersefidel <contact@sefidel.net>2022-01-01 15:31:53 +0900
commitad4f8a70cfebf51d236ad6c4ba13e9919c8fb9fb (patch)
treee80d9574bbdcc3f199309db44321d68bc3bded13
parent0e5873685ceb4912448168d0d73f1fe5fbba184e (diff)
downloadnixrc-ad4f8a70cfebf51d236ad6c4ba13e9919c8fb9fb.tar.gz
nixrc-ad4f8a70cfebf51d236ad6c4ba13e9919c8fb9fb.zip
flake: seperate packages and non-flake inputs
-rw-r--r--flake.nix2
-rw-r--r--home/modules/profiles/base/default.nix5
-rw-r--r--packages/default.nix4
-rw-r--r--packages/non-flake/default.nix5
4 files changed, 10 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index 8e08556..217cbd8 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,5 +39,7 @@
       checks = self.packages;
 
       lib = import ./lib inputs;
+
+      non-flake = (import ./packages/non-flake inputs);
     };
 }
diff --git a/home/modules/profiles/base/default.nix b/home/modules/profiles/base/default.nix
index a0f8aa4..67f8165 100644
--- a/home/modules/profiles/base/default.nix
+++ b/home/modules/profiles/base/default.nix
@@ -4,7 +4,9 @@ let
 
   neotheme = config.neotheme;
 
-  inherit (self.packages.x86_64-linux) neovim iosevka-pure-bin sf-mono-liga-bin phocus wallpapers;
+  inherit (self.packages.x86_64-linux) neovim iosevka-pure-bin phocus;
+
+  inherit (self.non-flake) wallpapers;
 in
 {
   options.profiles.base.enable = lib.mkEnableOption
@@ -60,7 +62,6 @@ in
 
       # Fonts
       iosevka-pure-bin
-      sf-mono-liga-bin
       pkgs.dina-font
       pkgs.sarasa-gothic
       pkgs.scientifica
diff --git a/packages/default.nix b/packages/default.nix
index dac720b..134e685 100644
--- a/packages/default.nix
+++ b/packages/default.nix
@@ -5,10 +5,6 @@ let
 in
 {
   "neovim" = neovim.packages.x86_64-linux.neovim;
-  "boppy-input-font-bin" = extra.boppy-input-font-bin;
   "iosevka-pure-bin" = extra.iosevka-pure-bin;
-  "sf-mono-bin" = extra.sf-mono-bin;
-  "sf-mono-liga-bin" = extra.sf-mono-liga-bin;
   "phocus" = pkgs.callPackage ./phocus { src = inputs.phocus; };
-  "wallpapers" = inputs.wallpapers;
 }
diff --git a/packages/non-flake/default.nix b/packages/non-flake/default.nix
new file mode 100644
index 0000000..8ed430c
--- /dev/null
+++ b/packages/non-flake/default.nix
@@ -0,0 +1,5 @@
+{ self, ... } @ inputs:
+
+{
+  "wallpapers" = inputs.wallpapers;
+}