summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix89
1 files changed, 43 insertions, 46 deletions
diff --git a/flake.nix b/flake.nix
index 2afe7ca..9d42340 100644
--- a/flake.nix
+++ b/flake.nix
@@ -9,27 +9,27 @@
};
my-slstatus = {
- url = "github:Skullheadx/slstatus";
+ url = "git://git.skullheadx.com/slstatus.git";
inputs.nixpkgs.follows = "nixpkgs";
};
my-surf = {
- url = "github:Skullheadx/surf";
+ url = "git://git.skullheadx.com/surf.git";
inputs.nixpkgs.follows = "nixpkgs";
};
my-dwm = {
- url = "github:Skullheadx/dwm";
+ url = "git://git.skullheadx.com/dwm.git";
inputs.nixpkgs.follows = "nixpkgs";
};
my-st = {
- url = "github:Skullheadx/st";
+ url = "git://git.skullheadx.com/st.git";
inputs.nixpkgs.follows = "nixpkgs";
};
my-dmenu = {
- url = "github:Skullheadx/dmenu";
+ url = "git://git.skullheadx.com/dmenu.git";
inputs.nixpkgs.follows = "nixpkgs";
};
nvf = {
@@ -37,46 +37,43 @@
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
- ./linux-common.nix
- ./hosts/nepsis/configuration.nix
- ./overlays.nix
- ];
- };
- nixosConfigurations.icon = nixpkgs.lib.nixosSystem {
- specialArgs = { inherit inputs customNeovim; };
- modules = [
- hjem.nixosModules.default
- ./linux-common.nix
- ./hosts/icon/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 {
+ specialArgs = {inherit inputs customNeovim;};
+ modules = [
+ hjem.nixosModules.default
+ ./linux-common.nix
+ ./hosts/icon/configuration.nix
+ ./overlays.nix
+ ];
};
+
+ packages.${system}.my-neovim = customNeovim.neovim;
+ };
}