diff options
author | ene <ene@sils.li> | 2023-02-18 22:46:33 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-18 22:57:24 +0100 |
commit | f8ec74c6e7f63a3e44bfd834e61f55c4b8a8822d (patch) | |
tree | 49683482c451d67a09b8dbac491f625500564b79 | |
parent | Feat: Add encryption through agenix (diff) | |
download | nixos-config-f8ec74c6e7f63a3e44bfd834e61f55c4b8a8822d.tar.gz nixos-config-f8ec74c6e7f63a3e44bfd834e61f55c4b8a8822d.zip |
Style(home-manager): Format with alejandra
-rw-r--r-- | home-manager/config/alacritty/default.nix | 2 | ||||
-rw-r--r-- | home-manager/config/cups/default.nix | 2 | ||||
-rw-r--r-- | home-manager/config/firefox/default.nix | 4 | ||||
-rw-r--r-- | home-manager/config/gammastep/default.nix | 6 | ||||
-rw-r--r-- | home-manager/config/lf/default.nix | 12 | ||||
-rw-r--r-- | home-manager/config/mpd/default.nix | 2 | ||||
-rw-r--r-- | home-manager/config/ssh/default.nix | 1 | ||||
-rw-r--r-- | hosts/desktop/configuration.nix | 2 | ||||
-rw-r--r-- | system/default.nix | 1 | ||||
-rw-r--r-- | system/impermanence/default.nix | 2 |
10 files changed, 18 insertions, 16 deletions
diff --git a/home-manager/config/alacritty/default.nix b/home-manager/config/alacritty/default.nix index 2a18b0d9..e9e56e52 100644 --- a/home-manager/config/alacritty/default.nix +++ b/home-manager/config/alacritty/default.nix @@ -1,5 +1,5 @@ {config, ...}: { -programs.alacritty = { + programs.alacritty = { enable = true; settings = { env = { diff --git a/home-manager/config/cups/default.nix b/home-manager/config/cups/default.nix index 4fef0a9c..5fe9f9d5 100644 --- a/home-manager/config/cups/default.nix +++ b/home-manager/config/cups/default.nix @@ -1,3 +1,3 @@ {config, ...}: { -xdg.configFile."cups/lpoptions".text = "Default Brother\n"; + xdg.configFile."cups/lpoptions".text = "Default Brother\n"; } diff --git a/home-manager/config/firefox/default.nix b/home-manager/config/firefox/default.nix index 88fad227..3f338192 100644 --- a/home-manager/config/firefox/default.nix +++ b/home-manager/config/firefox/default.nix @@ -38,13 +38,13 @@ addonId, url, sha256, -#meta, + #meta, ... }: pkgs.stdenv.mkDerivation { name = "${pname}-${version}"; -#inherit meta; + #inherit meta; src = builtins.fetchurl {inherit url sha256;}; diff --git a/home-manager/config/gammastep/default.nix b/home-manager/config/gammastep/default.nix index 79b027cd..fd6a76b8 100644 --- a/home-manager/config/gammastep/default.nix +++ b/home-manager/config/gammastep/default.nix @@ -1,4 +1,8 @@ -{config, lib, ...}: { +{ + config, + lib, + ... +}: { services.gammastep = { enable = true; settings = { diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix index e27b040c..5330f39f 100644 --- a/home-manager/config/lf/default.nix +++ b/home-manager/config/lf/default.nix @@ -166,11 +166,11 @@ in { gt = "cd /tmp"; }; -# TODO add ctpv, if it gets merged -# previewer = { -# keybinding = "i"; -# source = pkgs.ctpv; -# }; + # TODO add ctpv, if it gets merged + # previewer = { + # keybinding = "i"; + # source = pkgs.ctpv; + # }; settings = { # TODO this needs to be added to nixos: #autoquit = true; # quit the server, if no clients are left @@ -181,7 +181,7 @@ in { errorfmt = "\\033[1;91m==> ERROR:\\033[0m\\033[1;93m%s\\033[0m"; hidden = true; # show hidden files icons = true; - ifs = "\n"; # internal field separator for shell commands + ifs = "\n"; # internal field separator for shell commands info = "size"; # show the size of a directory shell = "sh"; shellopts = "-e -u"; # e: exit on error; u: error for unset variables diff --git a/home-manager/config/mpd/default.nix b/home-manager/config/mpd/default.nix index ea535415..013fe547 100644 --- a/home-manager/config/mpd/default.nix +++ b/home-manager/config/mpd/default.nix @@ -5,7 +5,7 @@ }: let dataDir = "${config.xdg.dataHome}/mpd"; in { -services.mpd = { + services.mpd = { enable = true; inherit dataDir; musicDirectory = "~/media/music"; diff --git a/home-manager/config/ssh/default.nix b/home-manager/config/ssh/default.nix index 506c36be..31784050 100644 --- a/home-manager/config/ssh/default.nix +++ b/home-manager/config/ssh/default.nix @@ -9,7 +9,6 @@ hashKnownHosts = true; serverAliveInterval = 240; userKnownHostsFile = "${config.xdg.dataHome}/ssh/know_hosts"; - }; } # vim: ts=2 diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index c58d1a47..8e78949b 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -5,7 +5,7 @@ nixpkgs, home-manager, ... -}:{ +}: { imports = [ ./hardware ./networking.nix diff --git a/system/default.nix b/system/default.nix index 543d889c..6293be23 100644 --- a/system/default.nix +++ b/system/default.nix @@ -9,5 +9,4 @@ ./impermanence ]; - } diff --git a/system/impermanence/default.nix b/system/impermanence/default.nix index 2b314dc4..f3b3c7be 100644 --- a/system/impermanence/default.nix +++ b/system/impermanence/default.nix @@ -31,7 +31,7 @@ } ]; users.soispha = { -#home = "/srv/home/soispha"; # TODO link this to ${config.users.users.soispha.homeDirectory} + #home = "/srv/home/soispha"; # TODO link this to ${config.users.users.soispha.homeDirectory} directories = [ ".local/share" ".cache" |