Run statix fix

This commit is contained in:
Erwin Boskma 2022-10-05 11:32:13 +02:00
parent e04d0829c2
commit 63c3e235f6
Signed by: erwin
GPG key ID: 270B20D17394F7E5
9 changed files with 10 additions and 10 deletions

View file

@ -11,7 +11,7 @@
flake-utils.url = "github:numtide/flake-utils";
nixos-hardware.url = github:NixOS/nixos-hardware;
nixos-hardware.url = "github:NixOS/nixos-hardware";
nixos-generators = {
url = "github:nix-community/nixos-generators";

View file

@ -41,7 +41,7 @@ in
};
};
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
home.packages = [ pkgs.rclone ];
systemd.user.services = builtins.listToAttrs (builtins.map
@ -56,7 +56,7 @@ in
Unit = {
Description = "rclone mount ${unitName}";
After = [ "network.target" ];
AssertPathIsDirectory = (toString mount.local);
AssertPathIsDirectory = toString mount.local;
};
Service = {

View file

@ -189,7 +189,7 @@ in
"${mod}+l" = "exec ${swaylockcmd}";
"${mod}+p" = "mode resize";
"${mod}+c" = mkIf (config.eboskma.programs.emacs.enable) "exec ${config.eboskma.programs.emacs.package}/bin/emacsclient -c";
"${mod}+c" = mkIf config.eboskma.programs.emacs.enable "exec ${config.eboskma.programs.emacs.package}/bin/emacsclient -c";
"${mod}+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name')";
"${mod}+Shift+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name') - | ${pkgs.wl-clipboard}/bin/wl-copy -t \"image/png\" -f";

View file

@ -6,7 +6,7 @@ in
{
options.eboskma.libvirtd = { enable = mkEnableOption "libvirtd"; };
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
virtualisation.libvirtd = {
enable = true;
allowedBridges = [ "br0" ];

View file

@ -6,7 +6,7 @@ in
{
options.eboskma.nix-serve = { enable = mkEnableOption "nix-serve"; };
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
services.nix-serve = {
enable = true;
secretKeyFile = "/var/cache-priv-key.pem";

View file

@ -6,7 +6,7 @@ in
{
options.eboskma.tablet = { enable = mkEnableOption "tablet"; };
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
hardware.opentabletdriver = {
enable = true;
daemon.enable = true;

View file

@ -67,7 +67,7 @@ in
};
};
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
networking = {
nat = {
enable = true;

View file

@ -8,7 +8,7 @@ in
{
options.eboskma.users.builder = { enable = mkEnableOption "builder"; };
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
users.users.builder = {
isSystemUser = true;
group = "builder";

View file

@ -8,7 +8,7 @@ in
imports = [ ./desktop.nix ];
config = mkIf (cfg.enable) {
config = mkIf cfg.enable {
users.users.erwin = {
isNormalUser = true;