style(nix-hm): format with nixfmt

This commit is contained in:
Price Hiller 2024-02-02 11:58:59 -06:00
parent 5cfecf809f
commit 08700496c2
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -1,9 +1,8 @@
{ pkgs, config, ... }:
{ pkgs, config, inputs, ... }:
let
dotsDir = "${config.home.homeDirectory}/.dot_files/dots";
softLinkDots = dir:
(builtins.listToAttrs (map
(n: {
(builtins.listToAttrs (map (n: {
name = "${dir + "/" + n}";
value = {
source = config.lib.file.mkOutOfStoreSymlink "${dotsDir}/${dir}/${n}";
@ -13,11 +12,11 @@ let
# HACK: We don't use the absolute path in readDir to respect pure evaluation in nix flakes.
(builtins.attrNames (builtins.readDir ../dots/${dir}))));
gtkStyle = "gtk2";
in
{
in {
programs.home-manager.enable = true;
home = {
packages = with pkgs; [
packages = with pkgs;
[
bob-nvim
emacs-pgtk
sqlite
@ -72,20 +71,19 @@ in
typstfmt
typst
hurl
] ++ [
gnumake
cmake
gcc
glibc
openssl.dev
glibc.static
llvm
llvmPackages.libcxxStdenv
waybar
] ++ [ ansible ansible-lint ] ++ [
# gnumake
# cmake
# gcc
# glibc
# openssl.dev
# glibc.static
# llvm
# llvmPackages.libcxxStdenv
];
file =
{
file = {
".local/" = {
source = ../dots/.local;
recursive = true;
@ -131,8 +129,7 @@ in
};
};
gtk =
let
gtk = let
extraGtkConfig = {
gtk-application-prefer-dark-theme = true;
gtk-cursor-theme-size = 0;
@ -142,8 +139,7 @@ in
gtk-xft-hinting = 1;
gtk-xft-hintstyle = "hintfull";
};
in
{
in {
enable = true;
theme = {
name = "Kanagawa-Borderless";
@ -162,11 +158,7 @@ in
gtk4.extraConfig = extraGtkConfig;
};
services = {
cliphist = {
enable = true;
};
};
services = { cliphist = { enable = true; }; };
systemd.user = {
targets.compositor = {
@ -185,9 +177,7 @@ in
ConditionEnvironment = [ "WAYLAND_DISPLAY" ];
};
Service = {
ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui";
};
Service = { ExecStart = "${pkgs.opensnitch-ui}/bin/opensnitch-ui"; };
environment = {
QT_QPA_PLATFORMTHEME = "${gtkStyle}";