1
0
forked from extern/nix-config

meta: Use a personal nixpkgs branch

Now I don't have to wait for anything to be included in nixos-unstable
and can simply merge whatever I want whenever I want. This also has the
advantage of not having to specify which input is needed to get a
package from.
This commit is contained in:
Donovan Glover 2023-06-20 10:22:34 -04:00
parent b310bb6e6d
commit 255a819504
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
4 changed files with 13 additions and 89 deletions

View File

@ -1,4 +1,4 @@
{ home-manager, stylix, nixpkgs-srb2, ... }: { home-manager, stylix, ... }:
let let
VARIABLES = import ../src/variables.nix; VARIABLES = import ../src/variables.nix;
in in
@ -47,7 +47,7 @@ in
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nixpkgs-srb2.legacyPackages.${VARIABLES.system}.srb2 srb2
kitty kitty
]; ];

80
flake.lock generated
View File

@ -131,54 +131,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-crystalline": {
"locked": {
"lastModified": 1687263500,
"narHash": "sha256-wjYgYqOpDV3+bcpq/eLXtfEdo4IeKsKxAGeSBJw521U=",
"owner": "donovanglover",
"repo": "nixpkgs",
"rev": "5fc6d1bdb9202839a01e86d944b8ff6f37f002f9",
"type": "github"
},
"original": {
"owner": "donovanglover",
"ref": "crystalline",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-go-thumbnailer": {
"locked": {
"lastModified": 1687268527,
"narHash": "sha256-ueJuEep01cQHUy9rQRVWDTkfuHU+yUQ5w2Bb69yeCrI=",
"owner": "donovanglover",
"repo": "nixpkgs",
"rev": "72fc3e9404fe2e3c0360619955dbe626974f445e",
"type": "github"
},
"original": {
"owner": "donovanglover",
"ref": "go-thumbnailer",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-hyprland-autoname-workspaces": {
"locked": {
"lastModified": 1687166409,
"narHash": "sha256-0LUsBoB5Al6WsNeSQ50Ab2dwJNln+XnCjwUBEixYWcQ=",
"owner": "donovanglover",
"repo": "nixpkgs",
"rev": "cf196dc3b485607c072c4679b792a7c7237f71fe",
"type": "github"
},
"original": {
"owner": "donovanglover",
"ref": "hyprland-autoname-workspaces",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"dir": "lib", "dir": "lib",
@ -197,34 +149,18 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-srb2": {
"locked": {
"lastModified": 1686161408,
"narHash": "sha256-+zLyuXX949OO4fQwa6AqTTHr8RSfBdHlMIq1AJuy+5I=",
"owner": "donovanglover",
"repo": "nixpkgs",
"rev": "97b52a7a806da410d171a755459fba17e39fcfed",
"type": "github"
},
"original": {
"owner": "donovanglover",
"ref": "srb2",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1686960236, "lastModified": 1687269780,
"narHash": "sha256-AYCC9rXNLpUWzD9hm+askOfpliLEC9kwAo7ITJc4HIw=", "narHash": "sha256-yHdg74PyCVguNeWPEQVOzljTExE8z+oBLrhQZADUubo=",
"owner": "NixOS", "owner": "donovanglover",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "04af42f3b31dba0ef742d254456dc4c14eedac86", "rev": "68734d1b33de0d92f1a0f97afcb322cd126a9a31",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "donovanglover",
"ref": "nixos-unstable", "ref": "personal-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -235,10 +171,6 @@
"hypr-contrib": "hypr-contrib", "hypr-contrib": "hypr-contrib",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-crystalline": "nixpkgs-crystalline",
"nixpkgs-go-thumbnailer": "nixpkgs-go-thumbnailer",
"nixpkgs-hyprland-autoname-workspaces": "nixpkgs-hyprland-autoname-workspaces",
"nixpkgs-srb2": "nixpkgs-srb2",
"stylix": "stylix" "stylix": "stylix"
} }
}, },

View File

@ -14,11 +14,7 @@
}; };
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:donovanglover/nixpkgs/personal-unstable";
nixpkgs-hyprland-autoname-workspaces.url = "github:donovanglover/nixpkgs/hyprland-autoname-workspaces";
nixpkgs-srb2.url = "github:donovanglover/nixpkgs/srb2";
nixpkgs-crystalline.url = "github:donovanglover/nixpkgs/crystalline";
nixpkgs-go-thumbnailer.url = "github:donovanglover/nixpkgs/go-thumbnailer";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";

View File

@ -2,10 +2,6 @@
, lib , lib
, hypr-contrib , hypr-contrib
, nix-gaming , nix-gaming
, nixpkgs-hyprland-autoname-workspaces
, nixpkgs-srb2
, nixpkgs-crystalline
, nixpkgs-go-thumbnailer
, ... , ...
}: }:
@ -106,10 +102,10 @@ let VARIABLES = import ./variables.nix; in {
swww swww
kickoff kickoff
greetd.tuigreet greetd.tuigreet
nixpkgs-hyprland-autoname-workspaces.legacyPackages.${VARIABLES.system}.hyprland-autoname-workspaces hyprland-autoname-workspaces
nixpkgs-srb2.legacyPackages.${VARIABLES.system}.srb2 srb2
nixpkgs-crystalline.legacyPackages.${VARIABLES.system}.crystalline crystalline
nixpkgs-go-thumbnailer.legacyPackages.${VARIABLES.system}.go-thumbnailer go-thumbnailer
]; ];
nixpkgs.config.allowUnfreePredicate = pkg: nixpkgs.config.allowUnfreePredicate = pkg: