]> git.plutz.net Git - blast/blob - debian-bookworm-desktop.mk
38d7fcbb4c9c34517efa24978ed26856fc04a8ff
[blast] / debian-bookworm-desktop.mk
1
2 subvol=/mnt/bookworm
3 release=bookworm
4
5 mainuser=...
6 fsuid=...
7
8 define SOURCES :=
9 deb     http://deb.debian.org/debian            bullseye                main
10 deb     http://deb.debian.org/debian            ${release}              main
11 deb     http://deb.debian.org/debian-security/  ${release}-security     main
12 endef
13
14 ## Comma separated list of config modules from modules/ directory
15 modules=xfce,gimp #,approx
16
17 ## Packages
18 packages = 
19 packages += alsa-utils audacity
20 packages += blender brasero brasero-cdrkit
21 packages += chromium chromium-sandbox cifs-utils claws-mail claws-mail-pgpinline claws-mail-pgpmime claws-mail-vcalendar-plugin clementine cryptsetup cups cups-browsed
22 packages += dosfstools dvdauthor dvd+rw-tools
23 packages += eject exfat-fuse exfatprogs
24 packages += firefox-esr firefox-esr-l10n-de fonts-liberation fonts-liberation2 frei0r-plugins
25 packages += gdebi gimp git gnumeric gparted gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-x gwenview
26 packages += hplip hplip-gui hunspell hunspell-de-de hyphen-de
27 packages += inkscape inkscape-tutorials
28 packages += k3b k3b-i18n kate kbd kcalc kdenlive kde-spectacle kde-style-breeze krita krita-l10n
29 packages += libnss3-tools libblockdev-crypto2 libk3b-extracodecs libpam-mount libpam-script libreoffice libreoffice-gnome libreoffice-gtk3 libreoffice-l10n-de libreoffice-style-breeze live-boot live-boot-initramfs-tools locales lvm2 lightdm
30 packages += man-db marble mdadm mesa-utils mousepad mumble
31 packages += nbd-client netcat-openbsd network-manager-gnome nis nscd ntfs-3g
32 packages += obs-studio okular openssh-server
33 packages += p7zip-full pavucontrol pdfchain plymouth plymouth-themes
34 packages += recordmydesktop
35 packages += samba-common-bin squashfs-tools synaptic syslinux syslinux-common syslinux-efi systemd
36 packages += thunar-volman thunderbird thunderbird-l10n-de tmux
37 packages += unace unrar-free usermode
38 packages += va-driver-all vdpau-driver-all vlc
39 packages += x264 xdotool xfce4-goodies xfce4-power-manager-plugins xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-wacom xserver-xorg-video-all
40 packages += yt-dlp
41
42 # Hardware Spcific
43 packages += linux-image-amd64 grub-pc xserver-xorg-video-intel
44
45 # Games - Common
46 packages += extremetuxracer
47 packages += fillets-ng freeciv freeciv-client-sdl
48 packages += gnome-2048 gunroar
49 packages += hedgewars hex-a-hop
50 packages += kpat
51 packages += supertux supertuxkart
52 packages += torus-trooper
53 packages += wesnoth-1.16 wesnoth-1.16-httt wesnoth-music
54
55 # Games - Minetest
56 packages += minetest minetest-server
57 packages += minetest-mod-3d-armor
58 packages += minetest-mod-craftguide minetest-mod-ethereal
59 packages += minetest-mod-mesecons minetest-mod-mobs-redo
60 packages += minetest-mod-pipeworks minetest-mod-protector
61 packages += minetest-mod-unified-inventory
62
63 # Games - Teenage / Adult
64 # packages += 0ad flare-game openarena
65
66 ## Hostname for the generated machine
67 hostname=${mainuser}-debian
68
69 ## Root password will be salted and encrypted in image
70 # rootpass=topsecret
71 # rootpass=root
72
73 ## The corresponding .pub file for the given rootkey will be applied as
74 ## SSH login file for the root user.
75 ## If the pub file is not found, a new key pair will be generated
76 # rootkey=sshkey
77
78 ## Comma separated list of users to be set up.
79 ## User logins will start out with an empty password
80 ## If the live module is in use, users will also be added to the sudo group
81 # users=adam,steve
82 users=${mainuser}
83
84 ## Wifi configuration, if a Wifi password is given, WPA encryption will be used
85 ## without the password, the system will try to connect to an open wifi
86 # wifi=MyWiFi
87 # wifipass=P4ssW0rD
88
89 ## Timezone as offered by Debians tzdata selection
90 timezone=Europe/Berlin
91
92 ## Comma separated list of locales, first one will become default locale
93 locales=de_DE.UTF-8,en_US.UTF-8
94
95 ## Keyboard as used in debconfs keyboard-configuration/variant
96 ## Use debconf-get-selections to find out the exact string
97 # keyboard=German
98 keyboard=de
99
100 ## If the approxmodule is enabled, then one (and only one) apt-source
101 ## can be choosen to install packages from
102 ## See modules/approx.mk if you need more flexibility
103 # approx=http://localhost:9000/debian
104
105 CFGROOT = cfg_root/
106
107 .PHONY: _fstab _sudo
108 _target: _fstab _sudo
109
110 _sudo: _config cfg_root
111         chroot cfg_root adduser ${mainuser} sudo
112
113 _fstab: _config cfg_root
114         mkdir -p cfg_root/mnt/fsroot
115         printf '%s      0 0\n' \
116                 'UUID=${fsuid}  /               btrfs   auto,rw,subvol=bookworm' \
117                 'UUID=${fsuid}  /home           btrfs   auto,rw,subvol=home' \
118                 'UUID=${fsuid}  /mnt/fsroot     btrfs   auto,rw,nofail' \
119                 'LABEL=SYSTEM   /boot/efi       vfat    auto,ro,nofail' \
120                 'LABEL=SWAP     swap            swap    sw,nofail' \
121                 >cfg_root/etc/fstab