zenix: cosmic applets and tailscale dns
This commit is contained in:
parent
c85858eab7
commit
a7d89b437a
7 changed files with 41 additions and 18 deletions
|
|
@ -64,7 +64,7 @@ in {
|
|||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp5s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
networking.networkmanager.insertNameservers = ["1.1.1.1" "1.0.0.1"];
|
||||
networking.networkmanager.appendNameservers = ["1.1.1.1" "1.0.0.1"];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
|||
|
|
@ -53,13 +53,16 @@ in {
|
|||
start = [
|
||||
"com.system76.CosmicAppletWorkspaces"
|
||||
];
|
||||
center = [];
|
||||
center = [
|
||||
"com.system76.CosmicAppletMinimize"
|
||||
];
|
||||
end = [
|
||||
"com.system76.CosmicAppletTime"
|
||||
"com.system76.CosmicAppletTiling"
|
||||
"com.system76.CosmicAppletAudio"
|
||||
"com.system76.CosmicAppletNetwork"
|
||||
"com.system76.CosmicAppletNotifications"
|
||||
"com.system76.CosmicAppletMinimize"
|
||||
"com.system76.CosmicAppletStatusArea"
|
||||
"com.system76.CosmicAppletPower"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
# system
|
||||
selectdefaultapplication
|
||||
easyeffects
|
||||
pavucontrol
|
||||
pwvucontrol
|
||||
helvum
|
||||
|
||||
# tools
|
||||
|
|
@ -32,7 +32,10 @@
|
|||
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = [pkgs.obs-studio-plugins.wlrobs];
|
||||
plugins = [
|
||||
pkgs.obs-studio-plugins.wlrobs
|
||||
pkgs.obs-studio-plugins.obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
programs.rbw.settings.pinentry = pkgs.pinentry-gnome3;
|
||||
|
||||
# https://docs.pipewire.org/page_module_raop_discover.html
|
||||
xdg.configFile."pipewire/pipewire.conf.d/raop-discover.conf".text = ''
|
||||
context.modules = [
|
||||
{
|
||||
|
|
@ -44,6 +45,30 @@
|
|||
}
|
||||
]
|
||||
'';
|
||||
xdg.configFile."pipewire/pipewire.conf.d/raop-sink.conf".text = ''
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-raop-sink
|
||||
args = {
|
||||
# Set the remote address to tunnel to
|
||||
raop.ip = "127.0.0.1"
|
||||
raop.port = 8190
|
||||
raop.name = "my-raop-device"
|
||||
raop.hostname = "My Service"
|
||||
#raop.transport = "udp"
|
||||
raop.encryption.type = "RSA"
|
||||
#raop.audio.codec = "PCM"
|
||||
#raop.password = "****"
|
||||
#audio.format = "S16"
|
||||
#audio.rate = 44100
|
||||
#audio.channels = 2
|
||||
#audio.position = [ FL FR ]
|
||||
stream.props = {
|
||||
# extra sink properties
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
'';
|
||||
|
||||
services.gnome-keyring.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,12 +45,6 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
networking.hosts = {
|
||||
"100.65.29.110" = ["zenix"];
|
||||
"100.106.241.122" = ["alpine" "tristans.cloud"];
|
||||
"100.71.130.111" = ["fcs-tristan-nixbook"];
|
||||
"100.69.60.83" = ["google-pixel-8"];
|
||||
};
|
||||
|
||||
time.timeZone = lib.mkDefault "Europe/London";
|
||||
|
||||
|
|
@ -59,7 +53,10 @@ in {
|
|||
useXkbConfig = true;
|
||||
};
|
||||
|
||||
services.avahi.enable = true;
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
};
|
||||
|
||||
i18n.defaultLocale = lib.mkDefault "en_GB.UTF-8";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{pkgs, ...}: {
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
|
|
|
|||
|
|
@ -13,15 +13,10 @@
|
|||
|
||||
hardware.opentabletdriver.enable = true;
|
||||
|
||||
programs.nm-applet.enable = true;
|
||||
|
||||
services.printing.enable = true;
|
||||
|
||||
services.dbus = {
|
||||
enable = true;
|
||||
packages = [pkgs.gcr];
|
||||
};
|
||||
programs.light.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue