blob: b7001d675f96ea7b7a25fe4eb052f5881aac1e71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
{
self,
inputs,
...
}: {
flake.nixosModules.niri = {
config,
lib,
pkgs,
...
}: {
programs.niri = {
enable = true;
package = self.packages.${pkgs.stdenv.hostPlatform.system}.niri;
};
xdg.portal = {
enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk];
};
environment.systemPackages = [pkgs.wlr-randr];
};
perSystem = {
pkgs,
lib,
self',
...
}: {
packages.niri = inputs.wrapper-modules.wrappers.niri.wrap {
inherit pkgs;
imports = [
(self.wrapperModules.niri {
inherit pkgs;
inherit lib;
noctalia-shell = self'.packages.noctalia-shell;
})
{
config.settings.extraConfig = ''
workspace "w0" {
}
workspace "w1" {
}
workspace "w2" {
}
workspace "w3" {
}
workspace "w4" {
}
workspace "w5" {
}
workspace "w6" {
}
workspace "w7" {
}
workspace "w8" {
}
workspace "w9" {
}
'';
}
];
};
};
}
|