nix fmt

Changed files
+16 -22
home
hosts
elephant
gecko
owl
modules
+1 -3
home/calendar.nix
···
};
};
-
services = {
-
gpg-agent.enable = true;
-
};
+
services = { gpg-agent.enable = true; };
accounts.calendar = {
basePath = "calendar";
+3 -4
home/i3.nix
···
{ pkgs, config, lib, ... }@inputs:
let
-
i3-workspace-history = inputs.i3-workspace-history.packages.${pkgs.stdenv.hostPlatform.system}.default;
+
i3-workspace-history =
+
inputs.i3-workspace-history.packages.${pkgs.stdenv.hostPlatform.system}.default;
replacements = {
wm = "i3";
wmmsg = "i3-msg";
···
# TODO
# idling
-
home.packages = with pkgs; [
-
i3-workspace-history
-
];
+
home.packages = with pkgs; [ i3-workspace-history ];
home.pointerCursor.x11.enable = true;
+3 -4
home/sway.nix
···
{ pkgs, config, lib, ... }@inputs:
let
-
i3-workspace-history = inputs.i3-workspace-history.packages.${pkgs.stdenv.hostPlatform.system}.default;
+
i3-workspace-history =
+
inputs.i3-workspace-history.packages.${pkgs.stdenv.hostPlatform.system}.default;
replacements = {
wm = "sway";
wmmsg = "swaymsg";
···
options.custom.gui.sway.enable = lib.mkEnableOption "sway";
config = lib.mkIf cfg.enable {
-
home.packages = with pkgs; [
-
i3-workspace-history
-
];
+
home.packages = with pkgs; [ i3-workspace-history ];
home.file.".zprofile".text = ''
# Autostart sway at login on TTY 1
+2 -3
hosts/elephant/default.nix
···
];
};
nixpkgs.config.packageOverrides = prev: {
-
jellyfin-ffmpeg = prev.jellyfin-ffmpeg.overrideAttrs (_: {
-
withVpl = true;
-
});
+
jellyfin-ffmpeg =
+
prev.jellyfin-ffmpeg.overrideAttrs (_: { withVpl = true; });
};
}
+1 -4
hosts/gecko/default.nix
···
{ pkgs, lib, config, ... }:
{
-
imports = [
-
./hardware-configuration.nix
-
./backups.nix
-
];
+
imports = [ ./hardware-configuration.nix ./backups.nix ];
custom = {
enable = true;
+3 -3
hosts/owl/default.nix
···
{ pkgs, config, lib, eon, ... }@inputs:
-
let vpnRecords = [
+
let
+
vpnRecords = [
{
name = "nix-cache.vpn.${config.networking.domain}";
type = "A";
···
value = "100.64.0.9";
}
];
-
in
-
{
+
in {
imports = [
./hardware-configuration.nix
./minimal.nix
+3 -1
modules/home-manager.nix
···
config = lib.mkIf cfg.enable {
home-manager = {
useGlobalPkgs = true;
-
extraSpecialArgs = { i3-workspace-history = inputs.i3-workspace-history; };
+
extraSpecialArgs = {
+
i3-workspace-history = inputs.i3-workspace-history;
+
};
users.${config.custom.username} = import ../home/default.nix;
};
# zsh completion