diff --git a/hosts/dell-5590/nixos/configuration.nix b/hosts/dell-5590/nixos/configuration.nix index dd5bb1e..3ef9ea3 100644 --- a/hosts/dell-5590/nixos/configuration.nix +++ b/hosts/dell-5590/nixos/configuration.nix @@ -28,6 +28,7 @@ forwardX11 = true; }; }; + sound.enable = true; # hardware hardware = { logitech = { @@ -36,9 +37,9 @@ }; pulseaudio = { enable = true; - extraConfig = " - load-module module-switch-on-connect - "; + extraConfig ='' + load-module module-switch-on-connect + ''; }; sane = { enable = true; @@ -99,7 +100,7 @@ unmanaged = [ "interface-name:ve-*" ]; }; firewall.enable = true; - firewall.allowedTCPPorts = [ 24800 ]; + firewall.allowedTCPPorts = [ 24800 6600 ]; }; i18n.defaultLocale = "fr_FR.UTF-8"; @@ -150,7 +151,6 @@ LESS = "--quit-if-one-screen --RAW-CONTROL-CHARS"; TERMINAL = "xfce4-terminal"; PRIVATE_BROWSER = "firefox -private"; - DEFAULT-WEB-BROWSER = "firefox"; }; users = { diff --git a/hosts/dell-5590/nixpkgs/dunst.nix b/hosts/dell-5590/nixpkgs/dunst.nix index 030913e..5568003 100644 --- a/hosts/dell-5590/nixpkgs/dunst.nix +++ b/hosts/dell-5590/nixpkgs/dunst.nix @@ -112,10 +112,10 @@ sticky_history = "yes"; # Maximum amount of notifications kept in history - history_length = 15; + history_length = 3; # Display indicators for URLs (U) and actions (A). - show_indicators = "no"; + show_indicators = "yes"; # The height of a single line. If the height is smaller than the # font height, it will get raised to the font height. diff --git a/hosts/dell-5590/nixpkgs/i3status.nix b/hosts/dell-5590/nixpkgs/i3status.nix index 8d46e4c..3d26781 100644 --- a/hosts/dell-5590/nixpkgs/i3status.nix +++ b/hosts/dell-5590/nixpkgs/i3status.nix @@ -25,10 +25,17 @@ block = "cpu"; interval = 1; } +# { +# block = "load"; +# interval = 1; +# format = "{1m}"; +# } { - block = "load"; - interval = 1; - format = "{1m}"; + block = "music"; + buttons = [ "play" "next" ]; + max_width = 20; + dynamic_width = true; + hide_when_empty = true; } { block = "sound"; diff --git a/hosts/dell-5590/nixpkgs/packages.nix b/hosts/dell-5590/nixpkgs/packages.nix index 5aa1050..c7b5061 100644 --- a/hosts/dell-5590/nixpkgs/packages.nix +++ b/hosts/dell-5590/nixpkgs/packages.nix @@ -54,5 +54,6 @@ nmap udiskie libnotify + sublime-music ]; }