29 Apr 2023 |
Minijackson | is /etc/systemd/user/pipewire-pulse.socket correct now? | 16:30:05 |
Industrial | 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 | I think that was the issue then | 16:35:01 |
Industrial | I restarted the socket and it works now. But what was the issue? | 16:35:20 |
Minijackson | your nixos-rebuild was building from your configuration.nix instead of your flake.nix | 16:35:55 |
Minijackson | I think that your configuration.nix doesn't have pipewire.pulse.enable = true; | 16:36:12 |
Industrial | 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 | note: I wouldn't recommend doing nixos-rebuild then manually activating, because nixos-rebuild switch does some other useful things | 16:38:03 |
Minijackson | like upgrading your bootloader | 16:38:08 |
Minijackson | but yeah, it should take from your flake | 16:39:09 |
Industrial | ok | 16:39:51 |
Industrial | Well, it works. Now I can enjoy my new speaker setup ;) thanks!~ | 16:40:35 |
Minijackson | sure! | 16:40:44 |
1 May 2023 |
olaf | 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? | 02:21:31 |
Minijackson | 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 |
| Charlotte š¦ (it/its) joined the room. | 07:42:44 |
8 May 2023 |
| Charlotte š¦ (it/its) changed their profile picture. | 07:06:41 |
| bujiraso joined the room. | 19:19:22 |
| uakci joined the room. | 22:21:59 |
12 May 2023 |
| Federico DamiƔn Schonborn changed their profile picture. | 00:58:26 |
| Federico DamiƔn Schonborn changed their profile picture. | 19:34:07 |
| Federico DamiƔn Schonborn changed their display name from Federico Schonborn to Federico DamiƔn Schonborn. | 19:34:53 |
18 May 2023 |
| Yuu Yin left the room. | 14:21:30 |
26 May 2023 |
| Charlotte š¦ (it/its) changed their profile picture. | 18:38:37 |
27 May 2023 |
| Tamara (dm me on @tammeyy:winter-cottage.eu please) joined the room. | 00:52:53 |
| tfortmuller joined the room. | 07:24:21 |
| NixOS Moderation Botchanged room power levels. | 16:40:54 |
2 Jun 2023 |
| Tamara (dm me on @tammeyy:winter-cottage.eu please) set a profile picture. | 11:54:24 |
| Tamara (dm me on @tammeyy:winter-cottage.eu please) changed their profile picture. | 12:06:05 |
| ckie (they/them) changed their display name from ckie (they/them; limited keyboard usage, voice preferred) to ckie (they/them). | 22:13:27 |