use unstable for goto
This commit is contained in:
parent
6a4321c849
commit
b7571d8e1a
19
flake.nix
19
flake.nix
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-23.05";
|
nixpkgs.url = "nixpkgs/nixos-23.05";
|
||||||
|
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||||||
mozilla.url = "github:mozilla/nixpkgs-mozilla";
|
mozilla.url = "github:mozilla/nixpkgs-mozilla";
|
||||||
# hyprland.url = "github:hyprwm/Hyprland";
|
|
||||||
supercolor.url = "github:zoe-bat/supercolor";
|
supercolor.url = "github:zoe-bat/supercolor";
|
||||||
kaokao.url = "github:zoe-bat/kaokao";
|
kaokao.url = "github:zoe-bat/kaokao";
|
||||||
i3layouts-rofi.url = "github:zoe-bat/i3layouts-rofi";
|
i3layouts-rofi.url = "github:zoe-bat/i3layouts-rofi";
|
||||||
|
@ -12,13 +12,22 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, home-manager, supercolor, i3layouts-rofi, kaokao
|
outputs = { self, nixpkgs, home-manager, supercolor, i3layouts-rofi, kaokao
|
||||||
, mozilla }@inputs:
|
, mozilla, nixpkgs-unstable }@inputs:
|
||||||
let system = "x86_64-linux";
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
overlay-unstable = final: prev: {
|
||||||
|
unstable = import nixpkgs-unstable {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
|
||||||
system = system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ mozilla.overlays.rust ]; })
|
({ config, pkgs, ... }: {
|
||||||
|
nixpkgs.overlays = [ mozilla.overlays.rust overlay-unstable ];
|
||||||
|
})
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
specialArgs = inputs;
|
specialArgs = inputs;
|
||||||
|
|
7
user.nix
7
user.nix
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, supercolor, kaokao, i3layouts-rofi, ... }:
|
{ pkgs, supercolor, nixpkgs-unstable, kaokao, i3layouts-rofi, ... }:
|
||||||
let
|
let
|
||||||
my-python-packages = p: with p; [ pytest i3ipc python-lsp-server ];
|
my-python-packages = p: with p; [ pytest i3ipc python-lsp-server ];
|
||||||
rust = pkgs.latest.rustChannels.stable.rust.override {
|
rust = pkgs.latest.rustChannels.stable.rust.override {
|
||||||
|
@ -140,6 +140,9 @@ in {
|
||||||
vscode
|
vscode
|
||||||
mdbook
|
mdbook
|
||||||
|
|
||||||
|
## games
|
||||||
|
unstable.godot_4
|
||||||
|
|
||||||
## nix
|
## nix
|
||||||
any-nix-shell
|
any-nix-shell
|
||||||
nixfmt
|
nixfmt
|
||||||
|
@ -180,8 +183,6 @@ in {
|
||||||
## 3d
|
## 3d
|
||||||
blender
|
blender
|
||||||
blockbench-electron
|
blockbench-electron
|
||||||
## godot
|
|
||||||
godot_4
|
|
||||||
## arduino
|
## arduino
|
||||||
arduino
|
arduino
|
||||||
## tilemap editor
|
## tilemap editor
|
||||||
|
|
Loading…
Reference in New Issue