summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix69
1 files changed, 37 insertions, 32 deletions
diff --git a/flake.nix b/flake.nix
index fa473f0..9b76d89 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,38 +36,43 @@
url = "github:notashelf/nvf";
inputs.nixpkgs.follows = "nixpkgs";
};
-
};
- outputs =
- {
- self,
- nixpkgs,
- hjem,
- my-slstatus,
- my-surf,
- my-dwm,
- my-st,
- my-dmenu,
- nvf,
- }@inputs:
- let
- system = "x86_64-linux";
- pkgs = nixpkgs.legacyPackages.${system};
- customNeovim = nvf.lib.neovimConfiguration {
- inherit pkgs;
- modules = [ ./nvf/nvf.nix ];
- };
- in
- {
- nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs customNeovim; };
- modules = [
- hjem.nixosModules.default
- ./configuration.nix
- ./overlays.nix
- ];
- };
-
- packages.${system}.my-neovim = customNeovim.neovim;
+ outputs = {
+ self,
+ nixpkgs,
+ hjem,
+ my-slstatus,
+ my-surf,
+ my-dwm,
+ my-st,
+ my-dmenu,
+ nvf,
+ } @ inputs: let
+ system = "x86_64-linux";
+ pkgs = nixpkgs.legacyPackages.${system};
+ customNeovim = nvf.lib.neovimConfiguration {
+ inherit pkgs;
+ modules = [./nvf/nvf.nix];
+ };
+ in {
+ nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem {
+ specialArgs = {inherit inputs customNeovim;};
+ modules = [
+ hjem.nixosModules.default
+ ./linux-common.nix
+ ./hosts/nepsis/configuration.nix
+ ./overlays.nix
+ ];
};
+ nixosConfigurations.icon = nixpkgs.lib.nixosSystem {
+ modules = [
+ hjem.nixosModules.default
+ ./linux-common.nix
+ ./hosts/icon/configuration.nix
+ ./overlays.nix
+ ];
+ };
+
+ packages.${system}.my-neovim = customNeovim.neovim;
+ };
}