mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
nixpkgs: add master branch in flake.nix
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
|
||||
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
|
||||
nixpkgs-master.url = "github:nixos/nixpkgs/master"; # used with precaution as they are untested and not cached
|
||||
|
||||
# This one is only used when testing some packaging. You must change the path to the correct nixpkgs clone
|
||||
#nixpkgs-local.url = "path:/home/tomasr/devel/fugit2-gpgme";
|
||||
@@ -64,8 +65,9 @@
|
||||
pkgs-unstable = mkPkgs inputs.nixpkgs-unstable;
|
||||
pkgs-local = mkPkgs inputs.nixpkgs-unstable;
|
||||
#pkgs-local = mkPkgs inputs.nixpkgs-local;
|
||||
pkgs-master = mkPkgs inputs.nixpkgs-master;
|
||||
in {
|
||||
inherit pkgs pkgs-unstable pkgs-local;
|
||||
inherit pkgs pkgs-unstable pkgs-local pkgs-master;
|
||||
};
|
||||
}
|
||||
// (inputs.import-tree ./modules));
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
flake.nixosConfigurations.desktop = inputs.nixpkgs.lib.nixosSystem {
|
||||
#system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit (self) pkgs-unstable;
|
||||
inherit (self) pkgs-unstable pkgs-master;
|
||||
};
|
||||
modules = with self.nixosModules; [
|
||||
# important do not remove
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
flake.nixosConfigurations.laptop = inputs.nixpkgs.lib.nixosSystem {
|
||||
#system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit (self) pkgs-unstable pkgs-local;
|
||||
inherit (self) pkgs-unstable pkgs-local pkgs-master;
|
||||
};
|
||||
modules = with self.nixosModules; [
|
||||
# important do not remove
|
||||
|
||||
Reference in New Issue
Block a user