!XrtRvzcHOrHtSKARne:nixos.org

NixOS Audio

125 Members
30 Servers

Load older messages


SenderMessageTime
29 Apr 2023
@Minijackson:matrix.orgMinijackson you can use nixos-rebuild --flake '.#drakkar' 16:28:18
@industrial:matrix.orgIndustrial
warning: Git tree '/home/tom/.dotfiles' is dirty
building the system configuration...
warning: Git tree '/home/tom/.dotfiles' is dirty
Warning: The unit file, source configuration file or drop-ins of local-fs.target changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of remote-fs.target changed on disk. Run 'systemctl daemon-reload' to reload units.
activating the configuration...
setting up /etc...
restarting systemd...
reloading user units for tom...
setting up tmpfiles
the following new units were started: docker.service, docker.socket
16:29:12
@Minijackson:matrix.orgMinijackson is /etc/systemd/user/pipewire-pulse.socket correct now? 16:30:05
@industrial:matrix.orgIndustrial

hmm, it contains

[Unit]
Description=PipeWire PulseAudio
ConditionUser=!root
Conflicts=pulseaudio.socket

[Socket]
Priority=6
ListenStream=%t/pulse/native

[Install]
WantedBy=sockets.target

That's the same as in the built result

16:34:31
@Minijackson:matrix.orgMinijacksonI think that was the issue then16:35:01
@industrial:matrix.orgIndustrialI restarted the socket and it works now. But what was the issue?16:35:20
@Minijackson:matrix.orgMinijackson your nixos-rebuild was building from your configuration.nix instead of your flake.nix 16:35:55
@Minijackson:matrix.orgMinijackson I think that your configuration.nix doesn't have pipewire.pulse.enable = true; 16:36:12
@industrial:matrix.orgIndustrial

I have a bin/update script in my flake repo that has this:

#!/usr/bin/env bash
set -e

echo "> sudo nix-channel --update"
sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
sudo nix-channel --update

echo "> nix-env -u --always"
nix-env -u --always

echo "> nix flake update"
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update

echo "> sudo nixos-rebuild build --flake '.#drakkar' --show-trace"
sudo nixos-rebuild build --flake '.#drakkar' --show-trace
echo "> sudo ./result/activate"
sudo ./result/activate
echo "> rm -f ./result"
rm -f ./result

echo "> home-manager switch --flake '.' --show-trace"
home-manager switch --flake '.' --show-trace

echo "> nixos-generate-config --show-hardware-config > hosts/drakkar/hardware-configuration.nix"
nixos-generate-config --show-hardware-config > hosts/drakkar/hardware-configuration.nix

I run that whenever I make changes to the config and also to update packages. It should build the flake file and not the /etc/nixos/configuration.nix right?

16:37:00
@Minijackson:matrix.orgMinijackson note: I wouldn't recommend doing nixos-rebuild then manually activating, because nixos-rebuild switch does some other useful things 16:38:03
@Minijackson:matrix.orgMinijacksonlike upgrading your bootloader16:38:08
@Minijackson:matrix.orgMinijacksonbut yeah, it should take from your flake16:39:09
@industrial:matrix.orgIndustrialok16:39:51
@industrial:matrix.orgIndustrialWell, it works. Now I can enjoy my new speaker setup ;) thanks!~16:40:35
@Minijackson:matrix.orgMinijacksonsure!16:40:44
1 May 2023
@olafklingt:matrix.orgolafI wonder if musnix is set up properly on my laptop. does anyone know how to check if for example the pam limits are set as expected?02:21:31
@Minijackson:matrix.orgMinijackson
In reply to @olafklingt:matrix.org
I wonder if musnix is set up properly on my laptop. does anyone know how to check if for example the pam limits are set as expected?
you can check with ulimit -Sa / ulimit -Ha
08:08:06
7 May 2023
@lotte:chir.rsCharlotte 🦝 (it/rac/racs/racself/🦝/plush) joined the room.07:42:44
8 May 2023
@lotte:chir.rsCharlotte 🦝 (it/rac/racs/racself/🦝/plush) changed their profile picture.07:06:41
@bujiraso:matrix.orgbujiraso joined the room.19:19:22
@uakci:uakci.spaceuakci~ joined the room.22:21:59
12 May 2023
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.00:58:26
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.19:34:07
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their display name from Federico Schonborn to Federico Damián Schonborn.19:34:53
18 May 2023
@yuu:matrix.orgYuu Yin left the room.14:21:30
26 May 2023
@lotte:chir.rsCharlotte 🦝 (it/rac/racs/racself/🦝/plush) changed their profile picture.18:38:37
27 May 2023
@tamtaram:chat.heizhaus.orgTamara joined the room.00:52:53
@tfortmuller:matrix.orgtfortmuller joined the room.07:24:21
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.16:40:54
2 Jun 2023
@tamtaram:chat.heizhaus.orgTamara set a profile picture.11:54:24

Show newer messages


Back to Room ListRoom Version: 9