aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/login.nix41
-rw-r--r--modules/music.home.nix4
-rw-r--r--modules/torrent.home.nix4
-rw-r--r--modules/xresources.home.nix25
4 files changed, 40 insertions, 34 deletions
diff --git a/modules/login.nix b/modules/login.nix
index b86c6bd..d22d67f 100644
--- a/modules/login.nix
+++ b/modules/login.nix
@@ -33,6 +33,8 @@ in
"transmission"
"lxd"
"jackaudio"
+ "plugdev"
+ "adbusers"
];
shell = pkgs.zsh;
};
@@ -41,9 +43,10 @@ in
#'';
# Global
- environment.variables = let
- apps = (import ../packages/sensible-apps/sensible-apps.nix).apps;
- in
+ environment.variables =
+ let
+ apps = (import ../packages/sensible-apps/sensible-apps.nix).apps;
+ in
{
EDITOR = apps.EDITOR;
VISUAL = apps.EDITOR;
@@ -63,22 +66,24 @@ in
interactiveShellInit = ''source ~/.config/zsh/zshrc'';
promptInit = "";
loginShellInit = with builtins; let
- cases = map (
- s: ''
- /dev/${elemAt s 0})
- echo "~/.config/xorg/init.sh; ${elemAt s 1}" > ~/.xinitrc;
- sleep 0.2;
- startx;
- ;;
- ''
- ) sessions;
+ cases = map
+ (
+ s: ''
+ /dev/${elemAt s 0})
+ echo "~/.config/xorg/init.sh; ${elemAt s 1}" > ~/.xinitrc;
+ sleep 0.2;
+ startx;
+ ;;
+ ''
+ )
+ sessions;
in
- ''
- case "$(tty)" in
- ${toString cases}
- *) echo "Only tty for you, $(tty)" ;;
- esac;
- '';
+ ''
+ case "$(tty)" in
+ ${toString cases}
+ *) echo "Only tty for you, $(tty)" ;;
+ esac;
+ '';
};
services = {
getty = {
diff --git a/modules/music.home.nix b/modules/music.home.nix
index 8c5fbcc..c5cc205 100644
--- a/modules/music.home.nix
+++ b/modules/music.home.nix
@@ -3,7 +3,7 @@
home.packages = with pkgs; [ mpc_cli ];
services.mpd = {
- enable = true;
+ enable = false;
musicDirectory = "${config.home.homeDirectory}/Downloads/music";
playlistDirectory = "${config.home.homeDirectory}/Downloads/music/playlist";
network = {
@@ -38,7 +38,7 @@
};
programs.ncmpcpp = {
- enable = true;
+ enable = false;
settings = {
# visualizer_type = "spectrum";
user_interface = "alternative";
diff --git a/modules/torrent.home.nix b/modules/torrent.home.nix
index 99f43d6..9266f44 100644
--- a/modules/torrent.home.nix
+++ b/modules/torrent.home.nix
@@ -3,7 +3,8 @@ let
downloadsDir = "/home/imsohexy/Downloads/dl";
incompleteDownloadsDir = "/home/imsohexy/Downloads/dl/incomplete";
watchTorrentFilesOn = "/home/an/Downloads/qute";
-in {
+in
+{
services.transmission = {
enable = true;
settings = {
@@ -23,7 +24,6 @@ in {
"rpc-port" = 9091;
"rpc-whitelist-enabled" = true;
"script-torrent-done-enabled" = false;
- "script-torrent-done-filename" = "";
"start-added-torrents" = true;
"trash-original-torrent-files" = false;
"umask" = 18;
diff --git a/modules/xresources.home.nix b/modules/xresources.home.nix
index 5517d47..a570599 100644
--- a/modules/xresources.home.nix
+++ b/modules/xresources.home.nix
@@ -1,17 +1,18 @@
{ config, pkgs, epkgs, ... }:
{
- xresources.properties = let
- bg = "#0f0c19";
- fg = "#d8dee9";
- accent = "#4e3aA3";
- ##A22F3E
- ##A1313F
- ##A82E3D
- ##AE2E3D
- ##EB4960
- ##B22337
- ##F32929
- in
+ xresources.properties =
+ let
+ bg = "#0f0c19";
+ fg = "#d8dee9";
+ accent = "#4e3aA3";
+ ##A22F3E
+ ##A1313F
+ ##A82E3D
+ ##AE2E3D
+ ##EB4960
+ ##B22337
+ ##F32929
+ in
{
"*.foreground" = fg;
"*.background" = bg;