From abb6e25b459b6f46c34ee609bac1e404a46faf0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 29 Nov 2023 15:49:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20(neodymium)=20move=20borgbackup?= =?UTF-8?q?=20and=20greetd=20out=20of=20system=20and=20into=20services?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/default.nix | 2 +- hosts/neodymium/{system => services}/borgbackup/default.nix | 0 hosts/neodymium/services/default.nix | 1 + hosts/neodymium/{system => services}/greetd/default.nix | 3 ++- hosts/neodymium/system/default.nix | 2 -- 5 files changed, 4 insertions(+), 4 deletions(-) rename hosts/neodymium/{system => services}/borgbackup/default.nix (100%) create mode 100644 hosts/neodymium/services/default.nix rename hosts/neodymium/{system => services}/greetd/default.nix (57%) diff --git a/hosts/neodymium/default.nix b/hosts/neodymium/default.nix index e4b8371..61f63fc 100644 --- a/hosts/neodymium/default.nix +++ b/hosts/neodymium/default.nix @@ -1,5 +1,5 @@ { pkgs, ... }: { - imports = [ ./system ]; + imports = [ ./system ./services ]; # shorter timeout for systemd services systemd.extraConfig = '' diff --git a/hosts/neodymium/system/borgbackup/default.nix b/hosts/neodymium/services/borgbackup/default.nix similarity index 100% rename from hosts/neodymium/system/borgbackup/default.nix rename to hosts/neodymium/services/borgbackup/default.nix diff --git a/hosts/neodymium/services/default.nix b/hosts/neodymium/services/default.nix new file mode 100644 index 0000000..25ab436 --- /dev/null +++ b/hosts/neodymium/services/default.nix @@ -0,0 +1 @@ +{ ... }: { imports = [ ./borgbackup ./greetd ]; } diff --git a/hosts/neodymium/system/greetd/default.nix b/hosts/neodymium/services/greetd/default.nix similarity index 57% rename from hosts/neodymium/system/greetd/default.nix rename to hosts/neodymium/services/greetd/default.nix index 7de8df3..eaec9cc 100644 --- a/hosts/neodymium/system/greetd/default.nix +++ b/hosts/neodymium/services/greetd/default.nix @@ -4,7 +4,8 @@ settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; + command = + "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; # TODO: use nix pkgs user = "greeter"; }; }; diff --git a/hosts/neodymium/system/default.nix b/hosts/neodymium/system/default.nix index e6adb36..f283a24 100644 --- a/hosts/neodymium/system/default.nix +++ b/hosts/neodymium/system/default.nix @@ -12,10 +12,8 @@ ./age ./audio ./boot - ./borgbackup ./docker ./fonts - ./greetd ./hardware ./i18n ./networking