work dev tools + snapcast
This commit is contained in:
parent
e5a1dfebf5
commit
364fbd5b14
4 changed files with 53 additions and 32 deletions
|
|
@ -64,21 +64,6 @@ in
|
|||
home.homeDirectory = "/home/tristan";
|
||||
|
||||
xdg.userDirs.enable = true;
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
associations.added = {
|
||||
"inode/directory" = "lf.desktop;vscodium.desktop;pcmanfm.desktop";
|
||||
};
|
||||
defaultApplications = {
|
||||
"image/png" = "imv.desktop";
|
||||
"image/jpeg" = "imv.desktop";
|
||||
"image/jpg" = "imv.desktop";
|
||||
"inode/directory" = "lf.desktop";
|
||||
"text/html" = "brave-browser.desktop";
|
||||
"x-scheme-handler/http" = "brave-browser.desktop";
|
||||
"x-scheme-handler/https" = "brave-browser.desktop";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = (with pkgs; [
|
||||
libnotify
|
||||
|
|
@ -764,12 +749,26 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-
|
|||
"text/html" = "html | colorize";
|
||||
};
|
||||
|
||||
home.file.".config/pipewire/pipewire.conf.d/raop-discover.conf".text = ''
|
||||
context.modules = [
|
||||
{
|
||||
name = libpipewire-module-raop-discover
|
||||
args = { }
|
||||
}
|
||||
]
|
||||
'';
|
||||
systemd.user.services = {
|
||||
snapclient = {
|
||||
Unit = {
|
||||
Description = "Snapclient";
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.snapcast}/bin/snapclient -h music.local";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
# https://search.nixos.org/options
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
|
@ -9,7 +8,7 @@
|
|||
};
|
||||
|
||||
nix.settings.trusted-users = [ "root" "tristan" ];
|
||||
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
|
|
@ -17,7 +16,7 @@
|
|||
programs.nm-applet.enable = true;
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
|
||||
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
useXkbConfig = true;
|
||||
|
|
@ -33,10 +32,12 @@
|
|||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
# pipewire raop
|
||||
networking.firewall.allowedUDPPorts = [ 6002 6001 ];
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
services.avahi.enable = true;
|
||||
|
||||
security.doas.enable = true;
|
||||
security.pam.services.swaylock = { };
|
||||
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
|
||||
|
|
@ -75,10 +76,6 @@
|
|||
VISUAL = "nvim";
|
||||
TERMINAL = "foot";
|
||||
};
|
||||
|
||||
environment.shellAliases = {
|
||||
code = "codium";
|
||||
};
|
||||
|
||||
services.gvfs.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
@ -96,7 +93,7 @@
|
|||
configure = {
|
||||
packages.myPlugins = with pkgs.vimPlugins; {
|
||||
start = [ vim-surround vim-commentary vim-nix ];
|
||||
opt = [];
|
||||
opt = [ ];
|
||||
};
|
||||
customRC = ''
|
||||
vnoremap * y/\V<C-R>=escape(@",'/\')<CR><CR>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue