Add packwiz
This commit is contained in:
parent
6fa73f2358
commit
a9e5829e23
|
@ -5,7 +5,7 @@
|
||||||
# Use rustup to get the compiler
|
# Use rustup to get the compiler
|
||||||
rustup
|
rustup
|
||||||
# Install the latest rust analyzer
|
# Install the latest rust analyzer
|
||||||
fenix.rust-analyzer
|
fenix.packages."${system}".rust-analyzer
|
||||||
# Sccache for faster builds
|
# Sccache for faster builds
|
||||||
sccache
|
sccache
|
||||||
# Misc cargo utilites
|
# Misc cargo utilites
|
||||||
|
|
23
flake.nix
23
flake.nix
|
@ -51,7 +51,7 @@
|
||||||
, darwin
|
, darwin
|
||||||
, polymc
|
, polymc
|
||||||
, nix-doom-emacs
|
, nix-doom-emacs
|
||||||
}:
|
}@attrs:
|
||||||
let
|
let
|
||||||
baseModules = [
|
baseModules = [
|
||||||
./applications/utils-core.nix
|
./applications/utils-core.nix
|
||||||
|
@ -161,9 +161,8 @@
|
||||||
overlays = [ mozillaOverlay ];
|
overlays = [ mozillaOverlay ];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-linux;
|
|
||||||
doomEmacs = nix-doom-emacs.hmModule;
|
doomEmacs = nix-doom-emacs.hmModule;
|
||||||
};
|
} // attrs;
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/levitation.nix
|
./hardware/levitation.nix
|
||||||
./machines/levitation.nix
|
./machines/levitation.nix
|
||||||
|
@ -180,8 +179,7 @@
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-linux;
|
} // attrs;
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/oracles.nix
|
./hardware/oracles.nix
|
||||||
./machines/oracles.nix
|
./machines/oracles.nix
|
||||||
|
@ -201,8 +199,7 @@
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-linux;
|
} // attrs;
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/perception.nix
|
./hardware/perception.nix
|
||||||
./machines/perception.nix
|
./machines/perception.nix
|
||||||
|
@ -220,8 +217,7 @@
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-linux;
|
} // attrs;
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/shadowchild.nix
|
./hardware/shadowchild.nix
|
||||||
./machines/shadowchild.nix
|
./machines/shadowchild.nix
|
||||||
|
@ -237,8 +233,7 @@
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-linux;
|
} // attrs;
|
||||||
};
|
|
||||||
modules = [
|
modules = [
|
||||||
./hardware/matrix.nix
|
./hardware/matrix.nix
|
||||||
./machines/matrix.nix
|
./machines/matrix.nix
|
||||||
|
@ -256,8 +251,7 @@
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-linux;
|
} // attrs;
|
||||||
};
|
|
||||||
modules = [ ./home-linux.nix ] ++ desktopModules;
|
modules = [ ./home-linux.nix ] ++ desktopModules;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -270,9 +264,8 @@
|
||||||
overlays = [ ];
|
overlays = [ ];
|
||||||
system = "x86_64-darwin";
|
system = "x86_64-darwin";
|
||||||
};
|
};
|
||||||
fenix = fenix.packages.x86_64-darwin;
|
|
||||||
doomEmacs = nix-doom-emacs.hmModule;
|
doomEmacs = nix-doom-emacs.hmModule;
|
||||||
};
|
} // attrs;
|
||||||
modules = baseModules ++ baseHomeModules ++ [
|
modules = baseModules ++ baseHomeModules ++ [
|
||||||
./darwin-modules/base.nix
|
./darwin-modules/base.nix
|
||||||
home-manager.darwinModules.home-manager
|
home-manager.darwinModules.home-manager
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, nixpkgs-unstable, ... }: {
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
let
|
let
|
||||||
# https://github.com/Admicos/minecraft-wayland
|
# https://github.com/Admicos/minecraft-wayland
|
||||||
|
@ -8,14 +8,19 @@
|
||||||
../patches/minecraft/0004-wayland-fix-broken-opengl-screenshots-on-mutter.patch
|
../patches/minecraft/0004-wayland-fix-broken-opengl-screenshots-on-mutter.patch
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
stable-packages = with pkgs; [
|
||||||
|
# Dwarf fortress
|
||||||
|
(dwarf-fortress-packages.dwarf-fortress-full.override {
|
||||||
|
enableFPS = true;
|
||||||
|
})
|
||||||
|
# PolyMC minecraft stuff
|
||||||
|
polymc
|
||||||
|
glfw-patched
|
||||||
|
];
|
||||||
|
unstable-packages = with nixpkgs-unstable.legacyPackages."${pkgs.system}"; [
|
||||||
|
# Packwiz for maintaing modpacks
|
||||||
|
packwiz
|
||||||
|
];
|
||||||
in
|
in
|
||||||
with pkgs; [
|
stable-packages ++ unstable-packages;
|
||||||
# Dwarf fortress
|
|
||||||
(dwarf-fortress-packages.dwarf-fortress-full.override {
|
|
||||||
enableFPS = true;
|
|
||||||
})
|
|
||||||
# PolyMC minecraft stuff
|
|
||||||
polymc
|
|
||||||
glfw-patched
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue