Add paperwm overlay
This commit is contained in:
parent
982718bc92
commit
59e015cc97
23
flake.nix
23
flake.nix
@ -14,10 +14,21 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs: {
|
||||
outputs = { self, nixpkgs, unstable, nur, home-manager, ... }@inputs: {
|
||||
|
||||
# This repo's overlay plus any other overlays you use
|
||||
# If you want to use packages from flakes that are not nixpkgs (such as NUR), add their overlays here.
|
||||
overlays = import ./overlays // {
|
||||
# Third party overlays here
|
||||
};
|
||||
|
||||
overlaysModule = {
|
||||
nixpkgs.overlays = nixpkgs.lib.attrValues self.overlays;
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
|
||||
loft = inputs.nixpkgs.lib.nixosSystem {
|
||||
loft = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./modules/common.nix
|
||||
@ -28,9 +39,10 @@
|
||||
specialArgs = { inherit inputs; };
|
||||
};
|
||||
|
||||
kitchen = inputs.nixpkgs.lib.nixosSystem {
|
||||
kitchen = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
self.overlaysModule
|
||||
./modules/common.nix
|
||||
./modules/containers.nix
|
||||
|
||||
@ -42,6 +54,7 @@
|
||||
work = inputs.nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
self.overlaysModule
|
||||
./modules/containers.nix
|
||||
./modules/nix.nix
|
||||
./modules/vscode-server.nix
|
||||
@ -65,6 +78,8 @@
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = nixpkgs.lib.attrValues self.overlays;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
@ -84,6 +99,8 @@
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
nixpkgs.overlays = nixpkgs.lib.attrValues self.overlays;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
|
3
overlays/default.nix
Normal file
3
overlays/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
paperwm = import ./paperwm;
|
||||
}
|
13
overlays/paperwm/default.nix
Normal file
13
overlays/paperwm/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
self: super: {
|
||||
gnomeExtensions = super.gnomeExtensions // {
|
||||
paperwm = super.gnomeExtensions.paperwm.overrideDerivation (old: {
|
||||
version = "41.0";
|
||||
src = super.fetchFromGitHub {
|
||||
owner = "PaperWM-community";
|
||||
repo = "PaperWM";
|
||||
rev = "b66aaf13e8f4cdf0e2f9078fb3e75703535b822c";
|
||||
sha256 = "sha256-6AUUu63oWxRw9Wpxe0f7xvt7iilvQfhpAB8SYG4yP8Q=";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
self: super: {
|
||||
gnomeExtensions = super.gnomeExtensions // {
|
||||
paperwm = super.gnomeExtensions.paperwm.overrideDerivation (old: {
|
||||
version = "pre-40.0";
|
||||
src = builtins.fetchGit {
|
||||
url = https://github.com/paperwm/paperwm.git;
|
||||
ref = "next-release";
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user