more dendritic work
This commit is contained in:
parent
f1e04d3557
commit
351356d575
2 changed files with 12 additions and 18 deletions
|
|
@ -8,23 +8,30 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
perSystem = { pkgs, lib, self',... }: {
|
perSystem = { pkgs, lib, self',... }: {
|
||||||
|
|
||||||
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
|
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
|
xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite;
|
||||||
|
|
||||||
spawn-at-startup = [
|
spawn-at-startup = [
|
||||||
# Makes our custom noctalia a dependency and spawns it at startup
|
# Makes our custom noctalia a dependency and spawns it at startup
|
||||||
(lib.getExe self'.packages.myNoctalia)
|
(lib.getExe self'.packages.myNoctalia)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
input.keyboard.xkb.layout = "us";
|
||||||
|
|
||||||
binds = {
|
binds = {
|
||||||
|
# Terminal bind
|
||||||
|
"Mod+Return".spawn-sh = lib.getExe self'.packages.myKitty;
|
||||||
|
# Launcher bind
|
||||||
"Mod+Tab".spawn-sh = "${lib.getExe self.packages.myNoctalia} ipc call launcher toggle";
|
"Mod+Tab".spawn-sh = "${lib.getExe self.packages.myNoctalia} ipc call launcher toggle";
|
||||||
|
# Window control binds
|
||||||
|
"Mod+Q".close-window = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
layout = {
|
layout = {
|
||||||
gaps = 5;
|
gaps = 5;
|
||||||
foo = 20;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,11 @@
|
||||||
{ self, inputs, ... }: {
|
{ self, inputs, ... }: {
|
||||||
|
|
||||||
flake.nixosModules.niri = { pkgs, lib, ... }: {
|
|
||||||
programs.noctalia-shell = {
|
|
||||||
enable = true;
|
|
||||||
package = self.packages.${pkgs.stdenv.hostPlatform.system}.myNoctalia;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
perSystem = { pkgs, ... }: {
|
perSystem = { pkgs, ... }: {
|
||||||
|
|
||||||
packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
|
packages.myNoctalia = inputs.wrapper-modules.wrappers.noctalia-shell.wrap {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
settings = {
|
settings = (builtins.fromJSON (builtins.readFile
|
||||||
foo = bar;
|
./noctalia.json
|
||||||
foorbar = {
|
)).settings;
|
||||||
bar = true;
|
|
||||||
foo = "always";
|
|
||||||
barbar = 5;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue