mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 11:05:23 -05:00
Need To Stop tailscaled Before Running Rebuild
This commit is contained in:
parent
2de0a270bf
commit
5c25a0ac56
3 changed files with 2 additions and 1 deletions
|
|
@ -7,5 +7,6 @@ Starting with https://www.youtube.com/watch?v=a67Sv4Mbxmc
|
||||||
## Commands to run for this (Mostly so I can stop googling this)
|
## Commands to run for this (Mostly so I can stop googling this)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
sudo systemctl stop tailscaled
|
||||||
sudo nixos-rebuild switch --flake /home/annika/nixos
|
sudo nixos-rebuild switch --flake /home/annika/nixos
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
networking.hostName = "kim";
|
networking.hostName = "kim";
|
||||||
|
|
||||||
networking.useDHCP = nixpkgs.lib.mkDefault true;
|
networking.useDHCP = nixpkgs.lib.mkDefault true;
|
||||||
|
networking.networkmanager.unmanaged = [ "tailscale0" ];
|
||||||
|
|
||||||
# TODO: identityFile = "/home/${globals.user}/.ssh/id_ed2519";
|
# TODO: identityFile = "/home/${globals.user}/.ssh/id_ed2519";
|
||||||
# TODO: passwordHash = nixpkgs.lib.fileContents ../../password.sha512;
|
# TODO: passwordHash = nixpkgs.lib.fileContents ../../password.sha512;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@
|
||||||
};
|
};
|
||||||
config = lib.mkIf (config.audio.enable) {
|
config = lib.mkIf (config.audio.enable) {
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
sound.enable = true;
|
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue