diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-19 12:54:16 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-19 12:54:16 -0800 |
| commit | bc40b7e0ad2ef5960b7f1695b4520909252a0e49 (patch) | |
| tree | f22e9e5001720bbc82055a5d4d3b24077b9647de /nix/users/fcuny/home-manager.nix | |
| parent | use treefmt to format all the files (diff) | |
| download | infra-bc40b7e0ad2ef5960b7f1695b4520909252a0e49.tar.gz | |
switch to the newer version of nixfmt
`nixfmt-rfc-style' replaces `nixfmt-classic'. It's actively
maintained, but also changes the style, so this commit touches all the
files in the repository.
Diffstat (limited to 'nix/users/fcuny/home-manager.nix')
| -rw-r--r-- | nix/users/fcuny/home-manager.nix | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/nix/users/fcuny/home-manager.nix b/nix/users/fcuny/home-manager.nix index e975c37..e450c24 100644 --- a/nix/users/fcuny/home-manager.nix +++ b/nix/users/fcuny/home-manager.nix @@ -1,26 +1,34 @@ { darwin, systemName, ... }: -{ lib, pkgs, ... }: { +{ lib, pkgs, ... }: +{ home.stateVersion = "23.05"; xdg.enable = true; - imports = [ ./shell.nix ./ssh.nix ./git.nix ] - ++ lib.optionals darwin [ ./1password.nix ./go.nix ] + imports = + [ + ./shell.nix + ./ssh.nix + ./git.nix + ] + ++ lib.optionals darwin [ + ./1password.nix + ./go.nix + ] ++ lib.optionals (systemName == "hq-c02fk3q7md6t") [ ./work.nix ]; - home.packages = with pkgs; + home.packages = + with pkgs; [ # encryption age - # nix nil # nix lsp - nix-direnv - nixd - nixfmt-classic - nixpkgs-fmt - ] ++ (lib.optionals (darwin) [ + nix-direnv # integration with direnv + nixfmt-rfc-style # new formatter + ] + ++ (lib.optionals (darwin) [ # media mpv ffmpeg |
