-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevenv.nix
41 lines (35 loc) · 914 Bytes
/
devenv.nix
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
# Copyright (c) 2025 tsrk. <[email protected]>
# This file is licensed under the MIT License.
# See the LICENSE file in the repository root for more info.
# SPDX-License-Identifier: MIT
{ pkgs, inputs, ... }:
{
languages.nix.enable = true;
packages = with pkgs; [
nix-output-monitor
eww
playerctl
imagemagick
inputs.agenix.packages.${pkgs.system}.default
];
scripts.rebuild-os.exec = ''exec ${./rebuild-os.sh} "$@"'';
scripts.gc.exec = ''exec ${./gc.sh} "$@"'';
scripts.get-option.exec = ''exec ${./get_option.sh} "$@"'';
scripts.rotate-bootstrap-keys.exec =
''exec ${./rotate_bootstrap_keys.sh}"$@"'';
git-hooks = {
hooks = {
deadnix = {
enable = true;
settings = {
edit = true;
noLambdaArg = true;
};
};
nixfmt-classic = {
enable = true;
settings = { width = 80; };
};
};
};
}