From e5b395a6cbe90e0d40e800686113944ab00dd56f Mon Sep 17 00:00:00 2001 From: buffet Date: Wed, 5 Jun 2024 11:21:21 +0200 Subject: [PATCH] refactor: get rid of unused arguments --- hosts/alice/gdm.nix | 2 +- hosts/alice/gpg.nix | 2 +- hosts/alice/pipewire.nix | 2 +- hosts/alice/syncthing.nix | 2 +- hosts/alice/tlp.nix | 2 +- hosts/ami/disk-config.nix | 2 +- hosts/ami/murmur.nix | 2 +- hosts/ami/upgrade.nix | 2 +- users/buffet/fzf.nix | 2 +- users/buffet/git.nix | 2 +- users/buffet/gpg.nix | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/hosts/alice/gdm.nix b/hosts/alice/gdm.nix index 7d2022e..e501787 100644 --- a/hosts/alice/gdm.nix +++ b/hosts/alice/gdm.nix @@ -1,4 +1,4 @@ -_: { +{ services.xserver = { enable = true; displayManager.gdm = { diff --git a/hosts/alice/gpg.nix b/hosts/alice/gpg.nix index 06d14b7..a2569ce 100644 --- a/hosts/alice/gpg.nix +++ b/hosts/alice/gpg.nix @@ -1,4 +1,4 @@ -_: { +{ programs.gnupg.agent = { enable = true; enableSSHSupport = true; diff --git a/hosts/alice/pipewire.nix b/hosts/alice/pipewire.nix index b8055b7..cc21ad4 100644 --- a/hosts/alice/pipewire.nix +++ b/hosts/alice/pipewire.nix @@ -1,4 +1,4 @@ -_: { +{ security.rtkit.enable = true; services.pipewire = { diff --git a/hosts/alice/syncthing.nix b/hosts/alice/syncthing.nix index cb4b920..f338282 100644 --- a/hosts/alice/syncthing.nix +++ b/hosts/alice/syncthing.nix @@ -1,4 +1,4 @@ -_: { +{ services.syncthing = { enable = true; user = "buffet"; diff --git a/hosts/alice/tlp.nix b/hosts/alice/tlp.nix index 61d0e92..a0ec624 100644 --- a/hosts/alice/tlp.nix +++ b/hosts/alice/tlp.nix @@ -1,4 +1,4 @@ -_: { +{ services = { tlp = { enable = true; diff --git a/hosts/ami/disk-config.nix b/hosts/ami/disk-config.nix index e24d074..e439b62 100644 --- a/hosts/ami/disk-config.nix +++ b/hosts/ami/disk-config.nix @@ -1,4 +1,4 @@ -_: { +{ disko.devices = { disk.main = { device = "/dev/sda"; diff --git a/hosts/ami/murmur.nix b/hosts/ami/murmur.nix index 3ab3ad0..7a38762 100644 --- a/hosts/ami/murmur.nix +++ b/hosts/ami/murmur.nix @@ -1,4 +1,4 @@ -_: { +{ services.murmur = { enable = true; openFirewall = true; diff --git a/hosts/ami/upgrade.nix b/hosts/ami/upgrade.nix index d87212e..0a0efaf 100644 --- a/hosts/ami/upgrade.nix +++ b/hosts/ami/upgrade.nix @@ -1,4 +1,4 @@ -_: { +{ system.autoUpgrade = { enable = true; flake = "https://buffets.kitchen/kitchen/rice/archive/main.tar.gz#ami"; diff --git a/users/buffet/fzf.nix b/users/buffet/fzf.nix index d9634f3..b02814a 100644 --- a/users/buffet/fzf.nix +++ b/users/buffet/fzf.nix @@ -1,4 +1,4 @@ -_: { +{ home-manager.users.buffet = { programs.fzf = { enable = true; diff --git a/users/buffet/git.nix b/users/buffet/git.nix index 91d91c3..653ac14 100644 --- a/users/buffet/git.nix +++ b/users/buffet/git.nix @@ -1,4 +1,4 @@ -_: { +{ home-manager.users.buffet = { programs.git = { enable = true; diff --git a/users/buffet/gpg.nix b/users/buffet/gpg.nix index cfe20e4..0b0f914 100644 --- a/users/buffet/gpg.nix +++ b/users/buffet/gpg.nix @@ -1,4 +1,4 @@ -_: { +{ home-manager.users.buffet = { programs.gpg.enable = true; };