Compare commits
3 commits
5b27c6e0dc
...
a0add58424
Author | SHA1 | Date | |
---|---|---|---|
a0add58424 | |||
66101edde5 | |||
a8ce6936a7 |
6 changed files with 35 additions and 7 deletions
2
.github/workflows/build-and-cache.yml
vendored
2
.github/workflows/build-and-cache.yml
vendored
|
@ -11,6 +11,8 @@ jobs:
|
||||||
- .#attic-server
|
- .#attic-server
|
||||||
- .#conduwuit
|
- .#conduwuit
|
||||||
- "github:cything/nixpkgs/9a35d495d2f49eee003b57265228844bb48c933e#nixosTests.garage.with-3node-replication1_x"
|
- "github:cything/nixpkgs/9a35d495d2f49eee003b57265228844bb48c933e#nixosTests.garage.with-3node-replication1_x"
|
||||||
|
- .#sway
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
8
flake.lock
generated
8
flake.lock
generated
|
@ -360,16 +360,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736701207,
|
"lastModified": 1736789786,
|
||||||
"narHash": "sha256-jG/+MvjVY7SlTakzZ2fJ5dC3V1PrKKrUEOEE30jrOKA=",
|
"narHash": "sha256-YKr7RhOtFFl7metHJ2oWmPF5//mlvasFr1jJ0gLdNyQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ed4a395ea001367c1f13d34b1e01aa10290f67d6",
|
"rev": "ba9f7942037ac78a690eb7e2c15f4869c9515eb4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable-small",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
description = "cy's flake";
|
description = "cy's flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
@ -95,8 +95,8 @@
|
||||||
"<C-h>" = "cmp.mapping.abort()";
|
"<C-h>" = "cmp.mapping.abort()";
|
||||||
"<C-n>" = "cmp.mapping.select_next_item()";
|
"<C-n>" = "cmp.mapping.select_next_item()";
|
||||||
"<C-p>" = "cmp.mapping.select_prev_item()";
|
"<C-p>" = "cmp.mapping.select_prev_item()";
|
||||||
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
"<C-u>" = "cmp.mapping.scroll_docs(-4)";
|
||||||
"<C-u>" = "cmp.mapping.scroll_docs(4)";
|
"<C-d>" = "cmp.mapping.scroll_docs(4)";
|
||||||
"<C-k>" = ''
|
"<C-k>" = ''
|
||||||
cmp.mapping(function(fallback)
|
cmp.mapping(function(fallback)
|
||||||
if cmp.visible() then
|
if cmp.visible() then
|
||||||
|
|
|
@ -2,6 +2,7 @@ let
|
||||||
overlays = [
|
overlays = [
|
||||||
./conduwuit
|
./conduwuit
|
||||||
./attic
|
./attic
|
||||||
|
./sway.nix
|
||||||
];
|
];
|
||||||
importedOverlays = map (m: import m) overlays;
|
importedOverlays = map (m: import m) overlays;
|
||||||
in
|
in
|
||||||
|
|
25
overlay/sway.nix
Normal file
25
overlay/sway.nix
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
final: prev: rec {
|
||||||
|
sway-unwrapped = (prev.sway-unwrapped.override (old: {
|
||||||
|
inherit wlroots;
|
||||||
|
}))
|
||||||
|
.overrideAttrs (prevAttrs: {
|
||||||
|
version = "1.10";
|
||||||
|
src = final.fetchFromGitHub {
|
||||||
|
owner = "swaywm";
|
||||||
|
repo = "sway";
|
||||||
|
rev = "0b08dce08cbcf515103d8a7fd8c390ed04c93428";
|
||||||
|
hash = "sha256-Qo/Fr/sc5lqHTlzf7YC282TkF1ZJtDhTNiL31R0c5NY=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
wlroots = prev.wlroots_0_18.overrideAttrs (prevAttrs: {
|
||||||
|
version = "0.19";
|
||||||
|
src = final.fetchFromGitLab {
|
||||||
|
domain = "gitlab.freedesktop.org";
|
||||||
|
owner = "wlroots";
|
||||||
|
repo = "wlroots";
|
||||||
|
rev = "eb85831284b6f46301e41205c5d4e08fc5b92c27";
|
||||||
|
hash = "sha256-itELarxPdIBx5EhDxXZht4Iw8kddaiHVHuAWtf0pGfU=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue