Compare commits
2 Commits
8f546ed840
...
e819878e9f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e819878e9f | ||
|
|
c8a9e615c5 |
@@ -1,8 +0,0 @@
|
||||
{ self, inputs, ... }: {
|
||||
|
||||
flake.nixosModules.fioHardware = { config, lib, pkgs, modulesPath, ... }: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
};
|
||||
}
|
||||
27
modules/features/niri.nix
Normal file
27
modules/features/niri.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ self, inputs, ... }: {
|
||||
|
||||
flake.nixosModules.niri = { pkgs, lib, ... }: {
|
||||
programs.niri = {
|
||||
enable = true;
|
||||
package = self.packages.${pkgs.stdenv.hostPlatform.system}.myNiri;
|
||||
}
|
||||
};
|
||||
|
||||
perSystem = { pkgs, lib, ... }: {
|
||||
packages.myNiri = inputs.wrapper-modules.wrappers.niri.wrap {
|
||||
inherit pkgs;
|
||||
settings = {
|
||||
input.keyboard = {
|
||||
xkb.layout = "us,ua";
|
||||
};
|
||||
|
||||
layout.gaps = 5;
|
||||
|
||||
binds = {
|
||||
"Mod+Return".spawn-sh = lib.getExe pkgs.alacritty;
|
||||
"Mod+Q".close-window = null;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
imports = [
|
||||
self.nixosModules.fioHardware
|
||||
self.nixosModules.niri
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
||||
Reference in New Issue
Block a user