aboutsummaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-26 11:41:02 -0500
committertdback <tyler@tdback.net>2025-01-26 11:41:02 -0500
commit7fffa8cded622f1713f916b3b5ef6c1dc940836d (patch)
tree5713a4bfa2419f3afb443964b379e3bd894ca71e /users
parent1f2df915be866bf708eccd00235f123034578800 (diff)
users/tdback: formatted modules
Diffstat (limited to 'users')
-rw-r--r--users/tdback/modules/irc/default.nix14
-rw-r--r--users/tdback/modules/mpd/default.nix5
-rw-r--r--users/tdback/modules/ncmpcpp/default.nix7
-rw-r--r--users/tdback/modules/shell/default.nix1
-rw-r--r--users/tdback/modules/tmux/default.nix5
5 files changed, 20 insertions, 12 deletions
diff --git a/users/tdback/modules/irc/default.nix b/users/tdback/modules/irc/default.nix
index 57b6de5..6ecf31f 100644
--- a/users/tdback/modules/irc/default.nix
+++ b/users/tdback/modules/irc/default.nix
@@ -1,16 +1,16 @@
-{ ... }:
-let
- user = "tdback";
-in
+{
+ config,
+ ...
+}:
{
programs.irssi = {
enable = true;
extraConfig = ''
- settings = { core = { real_name = "${user}"; }; };
+ settings = { core = { real_name = "${config.home.username}"; }; };
'';
networks = {
liberachat = {
- nick = "${user}";
+ nick = config.home.username;
saslExternal = true;
server = {
address = "irc.libera.chat";
@@ -19,7 +19,7 @@ in
ssl = {
enable = true;
verify = true;
- certificateFile = "/home/${user}/.irssi/certs/libera.pem";
+ certificateFile = "/home/${config.home.username}/.irssi/certs/libera.pem";
};
};
};
diff --git a/users/tdback/modules/mpd/default.nix b/users/tdback/modules/mpd/default.nix
index 5bf2396..1481443 100644
--- a/users/tdback/modules/mpd/default.nix
+++ b/users/tdback/modules/mpd/default.nix
@@ -1,4 +1,7 @@
-{ pkgs, ... }:
+{
+ pkgs,
+ ...
+}:
{
services.mpd = {
enable = true;
diff --git a/users/tdback/modules/ncmpcpp/default.nix b/users/tdback/modules/ncmpcpp/default.nix
index 839ce34..ca8cb0f 100644
--- a/users/tdback/modules/ncmpcpp/default.nix
+++ b/users/tdback/modules/ncmpcpp/default.nix
@@ -1,9 +1,12 @@
-{ pkgs, ... }:
+{
+ pkgs,
+ ...
+}:
{
programs.ncmpcpp = {
enable = true;
package = pkgs.unstable.ncmpcpp.override { visualizerSupport = true; };
- mpdMusicDir = "~/Media/Music";
+ mpdMusicDir = "~/media/music";
settings = {
ncmpcpp_directory = "~/.config/ncmpcpp";
lyrics_directory = "~/.local/share/lyrics";
diff --git a/users/tdback/modules/shell/default.nix b/users/tdback/modules/shell/default.nix
index a056c8a..3326837 100644
--- a/users/tdback/modules/shell/default.nix
+++ b/users/tdback/modules/shell/default.nix
@@ -1,4 +1,3 @@
-{ ... }:
{
programs = {
zoxide = {
diff --git a/users/tdback/modules/tmux/default.nix b/users/tdback/modules/tmux/default.nix
index f48238c..ab74a1d 100644
--- a/users/tdback/modules/tmux/default.nix
+++ b/users/tdback/modules/tmux/default.nix
@@ -1,4 +1,7 @@
-{ pkgs, ... }:
+{
+ pkgs,
+ ...
+}:
{
programs.tmux = {
enable = true;