pastila: use poezio from nixpkgs-unstable

This commit is contained in:
root 2024-06-23 21:20:02 +02:00
parent 617d239160
commit f7d4255a34
3 changed files with 34 additions and 7 deletions

View file

@ -56,6 +56,22 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1719082008,
"narHash": "sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9693852a2070b398ee123a329e68f0dab5526681",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1718419000,
@ -118,6 +134,7 @@
"root": {
"inputs": {
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable",
"paste-py": "paste-py"
}
},

View file

@ -1,30 +1,31 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
inputs.nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.paste-py.url = "git+https://github.com/Armael/paste-py?rev=fd4b051067a09b1f76df5516514330e0d53398f7";
inputs.paste-py.inputs.nixpkgs.follows = "nixpkgs";
outputs = { self, nixpkgs, ... }@attrs: {
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations."oven" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
specialArgs = inputs;
modules = [ ./oven/configuration.nix ];
};
nixosConfigurations."pastila" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
specialArgs = inputs;
modules = [ ./pastila/configuration.nix ];
};
nixosConfigurations."mesange" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
specialArgs = inputs;
modules = [ ./mesange/configuration.nix ];
};
nixosConfigurations."pinson" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
specialArgs = inputs;
modules = [ ./pinson/configuration.nix ];
};
};

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, nixpkgs-unstable, ... }:
let
vars = import ../vars.nix;
@ -21,6 +21,15 @@ in
./imap.nix
];
nixpkgs.overlays = [
(final: _prev: {
unstable = import nixpkgs-unstable {
system = final.system;
config.allowUnfree = true;
};
})
];
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
@ -67,7 +76,7 @@ in
weechat
transmission
tremc
poezio
unstable.poezio
];
# This option defines the first version of NixOS you have installed on this particular machine,