mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
refactor: move astal shell to its own repo
This commit is contained in:
parent
1bd1fdb9cf
commit
15250041b6
68 changed files with 135 additions and 8285 deletions
15
modules/desktop/fireproof-shell.nix
Normal file
15
modules/desktop/fireproof-shell.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{config, inputs, pkgs, ...}: let
|
||||
primaryMonitorName =
|
||||
if builtins.length config.monitors > 0
|
||||
then (builtins.elemAt config.monitors 0).name
|
||||
else "";
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
inputs.fireproof-shell.packages.${pkgs.system}.fireproof-shell
|
||||
];
|
||||
programs.fireproof-shell = {
|
||||
enable = true;
|
||||
systemd = true;
|
||||
monitor.primary = primaryMonitorName;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue