feat(nix): extend wayland with sway setup
This commit is contained in:
parent
2da1181445
commit
6970b8c7d2
27 changed files with 867 additions and 516 deletions
24
flake.nix
24
flake.nix
|
@ -8,6 +8,8 @@
|
|||
nixos-anywhere.url = github:numtide/nixos-anywhere/main;
|
||||
nixos-anywhere.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
||||
|
||||
colmena = {
|
||||
url = "github:zhaofengli/colmena";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -28,8 +30,9 @@
|
|||
url = "github:Iaphetes/aphorme_launcher/main";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
yofi = {
|
||||
url = "github:l4l/yofi";
|
||||
url = "github:l4l/yofi/master";
|
||||
flake = true;
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
@ -48,6 +51,11 @@
|
|||
url = "github:MagmaWM/MagmaWM";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
salut = {
|
||||
url = "gitlab:snakedye/salut";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
|
@ -71,6 +79,8 @@
|
|||
system = builtins.elemAt systems 0;
|
||||
};
|
||||
}
|
||||
# FIXME: this doesn't seem to work to apply overlays into a node's nixpkgs import
|
||||
# try this instead: https://github.com/zhaofengli/colmena/issues/60#issuecomment-1510496861
|
||||
(builtins.map (nodeName:
|
||||
import ./nix/os/devices/${nodeName} {
|
||||
repoFlake = self;
|
||||
|
@ -114,7 +124,6 @@
|
|||
# date = "1.60.0";
|
||||
# }
|
||||
);
|
||||
|
||||
in {
|
||||
dcpj4110dwDriver = dcpj4110dw.driver;
|
||||
dcpj4110dwCupswrapper = dcpj4110dw.cupswrapper;
|
||||
|
@ -137,6 +146,17 @@
|
|||
inherit craneLib;
|
||||
src = inputs.magmawm;
|
||||
};
|
||||
|
||||
salut = craneLib.buildPackage {
|
||||
src = inputs.salut;
|
||||
nativeBuildInputs = [
|
||||
pkgs.pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
pkgs.libxkbcommon
|
||||
pkgs.fontconfig
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
formatter = pkgs.alejandra;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue