feat(home-manager): service defs and fmt
fmt: reformatted using nixpkgs-fmt prettifier mpd: created configuration hypr: add window rules commons: add usingMusicPlayerDaemon variable
This commit is contained in:
parent
2d4b39c72f
commit
7d88765f5d
67 changed files with 633 additions and 573 deletions
16
devenv.nix
16
devenv.nix
|
@ -1,21 +1,15 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
{ pkgs, lib, config, inputs, ... }: {
|
||||
# https://devenv.sh/basics/
|
||||
env.GREET = "devenv";
|
||||
cachix.enable = false;
|
||||
# https://devenv.sh/packages/
|
||||
packages = [pkgs.git];
|
||||
packages = [ pkgs.git ];
|
||||
|
||||
# https://devenv.sh/languages/
|
||||
# languages.rust.enable = true;
|
||||
languages.nix.enable = true;
|
||||
pre-commit.hooks = {
|
||||
alejandra.enable = true;
|
||||
nixpkgs-fmt.enable = true;
|
||||
shellcheck.enable = true;
|
||||
commitizen.enable = true;
|
||||
};
|
||||
|
@ -38,9 +32,7 @@
|
|||
|
||||
# https://devenv.sh/tests/
|
||||
enterTest =
|
||||
/*
|
||||
shell
|
||||
*/
|
||||
# shell
|
||||
''
|
||||
echo "Running tests"
|
||||
git --version | grep --color=auto "${pkgs.git.version}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue