Various updates

This commit is contained in:
albert 2024-04-08 11:23:23 +09:00
parent bf02db04ef
commit f40bea210b
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
8 changed files with 17 additions and 11 deletions

View file

@ -27,9 +27,10 @@ jobs:
- name: "Setup: Runner" - name: "Setup: Runner"
run: | run: |
apk update apt update -y
apk add git nodejs nix openssh-client qemu tailscale sudo --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ apt install git nodejs nix-bin -y
git config --global user.email "${{github.actor}}"
git config --global user.name "Albert J. Copeland"
- name: "Setup: SSH" - name: "Setup: SSH"
run: | run: |
mkdir /root/.ssh mkdir /root/.ssh

View file

@ -59,8 +59,8 @@
milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";}; milan-linode-01 = libx.mkHost { hostname = "milan-linode-01"; type = "small";};
framework-server = libx.mkHost { hostname = "framework-server"; }; framework-server = libx.mkHost { hostname = "framework-server"; };
nuc-server = libx.mkHost { hostname = "nuc-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; };
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "tokyo-night"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "green"; };
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "hyprland"; theme = "sakura-night"; }; nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "hyprland"; theme = "green"; };
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
@ -70,8 +70,8 @@
"albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; type = "small"; }; "albert@milan-linode-01" = libx.mkHome { hostname = "milan-linode-01"; type = "small"; };
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; "albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "tokyo-night"; }; "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "green"; };
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "sakura-night"; }; "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "green"; };
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };

View file

@ -58,8 +58,12 @@
<property name="plugin-6" type="string" value="systray"> <property name="plugin-6" type="string" value="systray">
<property name="square-icons" type="bool" value="true"/> <property name="square-icons" type="bool" value="true"/>
<property name="known-items" type="array"> <property name="known-items" type="array">
<value type="string" value="steam"/>
<value type="string" value="remmina-icon"/> <value type="string" value="remmina-icon"/>
</property> </property>
<property name="known-legacy-items" type="array">
<value type="string" value="ethernet network connection “eth0” active"/>
</property>
</property> </property>
<property name="plugin-10" type="string" value="notification-plugin"/> <property name="plugin-10" type="string" value="notification-plugin"/>
<property name="plugin-11" type="string" value="separator"> <property name="plugin-11" type="string" value="separator">
@ -73,7 +77,7 @@
</property> </property>
<property name="plugin-17" type="string" value="launcher"> <property name="plugin-17" type="string" value="launcher">
<property name="items" type="array"> <property name="items" type="array">
<value type="string" value="17123095583.desktop"/> <value type="string" value="17125418341.desktop"/>
</property> </property>
</property> </property>
<property name="plugin-19" type="string" value="separator"> <property name="plugin-19" type="string" value="separator">

View file

@ -27,4 +27,5 @@
<property name="misc-menubar-default" type="bool" value="false"/> <property name="misc-menubar-default" type="bool" value="false"/>
<property name="misc-toolbar-default" type="bool" value="false"/> <property name="misc-toolbar-default" type="bool" value="false"/>
<property name="background-mode" type="string" value="TERMINAL_BACKGROUND_IMAGE"/> <property name="background-mode" type="string" value="TERMINAL_BACKGROUND_IMAGE"/>
<property name="background-image-shading" type="double" value="1"/>
</channel> </channel>

View file

@ -5,7 +5,7 @@
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = true;
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
{ ip, config, pkgs, stateVersion, hostname, username, ... }: { { ip, stateVersion, hostname, ... }: {
imports = [ imports = [
./${hostname} ./${hostname}
# Modules # Modules

View file

@ -14,7 +14,6 @@
extraOptions = [ extraOptions = [
"--device=/dev/bus/usb:/dev/bus/usb" "--device=/dev/bus/usb:/dev/bus/usb"
"--network-alias=piaware" "--network-alias=piaware"
"--network=piaware-default"
]; ];
}; };
} }

View file

@ -12,6 +12,7 @@ in {
description = "Albert J. Copeland"; description = "Albert J. Copeland";
# video is required for the "light" command to work # video is required for the "light" command to work
extraGroups = [ "networkmanager" "wheel" ] extraGroups = [ "networkmanager" "wheel" ]
++ ifExists [ "audio" ]
++ ifExists [ "video" ] ++ ifExists [ "video" ]
++ ifExists [ "docker" ] ++ ifExists [ "docker" ]
++ ifExists [ "podman" ] ++ ifExists [ "podman" ]