mirror of
https://github.com/nix-community/home-manager.git
synced 2026-10-03 03:59:23 +00:00
31 lines
619 B
Nix
31 lines
619 B
Nix
{
|
|
# This is not a working example
|
|
services.hyprscratch = {
|
|
enable = true;
|
|
settings = {
|
|
daemon_options = "clean";
|
|
global_options = "special";
|
|
global_rules = "size 90% 90%";
|
|
|
|
name = {
|
|
command = "command";
|
|
|
|
title = "title";
|
|
class = "class";
|
|
|
|
options = "option1 option2 option3";
|
|
rules = "rule1;rule2;rule3";
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script =
|
|
let
|
|
configFile = "home-files/.config/hypr/hyprscratch.conf";
|
|
in
|
|
''
|
|
assertFileExists "${configFile}"
|
|
assertFileContent "${configFile}" ${./example-settings.conf}
|
|
'';
|
|
}
|