[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
|
||||
];
|
||||
};
|
||||
"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" = {
|
||||
show-mounts = false;
|
||||
show-trash = false;
|
||||
|
||||
@ -32,6 +32,10 @@ in
|
||||
# Enable the OpenSSH daemon.
|
||||
services.openssh.enable = true;
|
||||
|
||||
users.users.sebastian.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL/i/b9o5LKRr+h7vwq1dLCQ+vz9DTf4EvaLeCRUxtIZ sebastian@cesium"
|
||||
];
|
||||
|
||||
# Symlink für Autostart
|
||||
environment.etc."xdg/autostart/spice-vdagent-custom.desktop".source =
|
||||
"${spice-vdagent-desktop}/share/applications/spice-vdagent-custom.desktop";
|
||||
|
||||
@ -58,11 +58,16 @@ mount /dev/disk/by-label/nixos /mnt
|
||||
mkdir /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
|
||||
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
|
||||
@ -70,8 +75,8 @@ nixos-install
|
||||
|
||||
|
||||
# If root password wasn't set because the installation needed to be restarted.
|
||||
read -p "Set Root-password with nixos-enter? (j/N): " answer
|
||||
if [ "$answer" = "j" ] || [ "$answer" = "J" ]; then
|
||||
read -p "Set Root-password with nixos-enter? (j/N): " ANSWER
|
||||
if [ "${ANSWER}" = "j" ] || [ "${ANSWER}" = "J" ]; then
|
||||
nixos-enter --root '/mnt'
|
||||
passwd
|
||||
fi
|
||||
|
||||
@ -6,10 +6,10 @@ cp -r ~/nixos-cesium/config/* /etc/nixos/
|
||||
|
||||
# VM module activation
|
||||
echo ""
|
||||
echo "Activate a VM module?"
|
||||
echo " 1) vm-guest.nix (VM runs inside a hypervisor)"
|
||||
echo " 2) vm-host.nix (System runs VMs via libvirtd)"
|
||||
echo " n) None"
|
||||
echo "Select what configuration to include?"
|
||||
echo " 1) vm-guest.nix (VM runs inside a hypervisor)"
|
||||
echo " 2) vm-host.nix (System runs VMs via libvirtd)"
|
||||
echo " n) None"
|
||||
read -p "Selection [n]: " VM_CHOICE
|
||||
VM_CHOICE="${VM_CHOICE:-n}"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user