[TASK] Add background image
This commit is contained in:
parent
bb8b83274a
commit
a777bd1e89
BIN
config/config/crest_iv_black-cut.jpg
Normal file
BIN
config/config/crest_iv_black-cut.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 968 KiB |
@ -109,6 +109,12 @@ in
|
|||||||
dash-to-dock.extensionUuid
|
dash-to-dock.extensionUuid
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
"org/gnome/desktop/background" = {
|
||||||
|
picture-uri = "file:///etc/nixos/config/crest_iv_black-cut.jpg";
|
||||||
|
picture-uri-dark = "file:///etc/nixos/config/crest_iv_black-cut.jpg";
|
||||||
|
picture-options = "centered";
|
||||||
|
primary-color = "#000000";
|
||||||
|
};
|
||||||
"org/gnome/shell/extensions/dash-to-dock" = {
|
"org/gnome/shell/extensions/dash-to-dock" = {
|
||||||
show-mounts = false;
|
show-mounts = false;
|
||||||
show-trash = false;
|
show-trash = false;
|
||||||
|
|||||||
@ -32,6 +32,10 @@ in
|
|||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
|
|
||||||
|
users.users.sebastian.openssh.authorizedKeys.keys = [
|
||||||
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/i/b9o5LKRr+h7vwq1dLCQ+vz9DTf4EvaLeCRUxtIZ sebastian@cesium"
|
||||||
|
];
|
||||||
|
|
||||||
# Symlink für Autostart
|
# Symlink für Autostart
|
||||||
environment.etc."xdg/autostart/spice-vdagent-custom.desktop".source =
|
environment.etc."xdg/autostart/spice-vdagent-custom.desktop".source =
|
||||||
"${spice-vdagent-desktop}/share/applications/spice-vdagent-custom.desktop";
|
"${spice-vdagent-desktop}/share/applications/spice-vdagent-custom.desktop";
|
||||||
|
|||||||
@ -58,11 +58,16 @@ mount /dev/disk/by-label/nixos /mnt
|
|||||||
mkdir /mnt/boot
|
mkdir /mnt/boot
|
||||||
mount -o umask=077 /dev/disk/by-label/boot /mnt/boot
|
mount -o umask=077 /dev/disk/by-label/boot /mnt/boot
|
||||||
|
|
||||||
|
# Activate swap
|
||||||
|
swapon /dev/disk/by-label/swap
|
||||||
|
|
||||||
mkdir -p /mnt/home
|
mkdir -p /mnt/home
|
||||||
mount /dev/disk/by-label/home /mnt/home
|
mount /dev/disk/by-label/home /mnt/home
|
||||||
|
|
||||||
# Activate swap
|
|
||||||
swapon /dev/disk/by-label/swap
|
echo "If you want to configure additional partitions, this is the right moment."
|
||||||
|
echo "Switch to console with [Ctrl + Z] and return with [fg] continue after that."
|
||||||
|
read -p "Continue?"
|
||||||
|
|
||||||
|
|
||||||
nixos-generate-config --root /mnt
|
nixos-generate-config --root /mnt
|
||||||
@ -70,8 +75,8 @@ nixos-install
|
|||||||
|
|
||||||
|
|
||||||
# If root password wasn't set because the installation needed to be restarted.
|
# If root password wasn't set because the installation needed to be restarted.
|
||||||
read -p "Set Root-password with nixos-enter? (j/N): " answer
|
read -p "Set Root-password with nixos-enter? (j/N): " ANSWER
|
||||||
if [ "$answer" = "j" ] || [ "$answer" = "J" ]; then
|
if [ "${ANSWER}" = "j" ] || [ "${ANSWER}" = "J" ]; then
|
||||||
nixos-enter --root '/mnt'
|
nixos-enter --root '/mnt'
|
||||||
passwd
|
passwd
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -6,7 +6,7 @@ cp -r ~/nixos-cesium/config/* /etc/nixos/
|
|||||||
|
|
||||||
# VM module activation
|
# VM module activation
|
||||||
echo ""
|
echo ""
|
||||||
echo "Activate a VM module?"
|
echo "Select what configuration to include?"
|
||||||
echo " 1) vm-guest.nix (VM runs inside a hypervisor)"
|
echo " 1) vm-guest.nix (VM runs inside a hypervisor)"
|
||||||
echo " 2) vm-host.nix (System runs VMs via libvirtd)"
|
echo " 2) vm-host.nix (System runs VMs via libvirtd)"
|
||||||
echo " n) None"
|
echo " n) None"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user