[test-debian-gnome] Add initial Debian config
This commit is contained in:
parent
ea84b34418
commit
965e1c874c
13 changed files with 108 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
deb http://deb.debian.org/debian sid main contrib non-free-firmware
|
|
@ -0,0 +1,27 @@
|
|||
# Default values for useradd(8)
|
||||
#
|
||||
# The SHELL variable specifies the default login shell on your
|
||||
# system.
|
||||
SHELL=/bin/zsh
|
||||
|
||||
# The default group for users
|
||||
GROUP=users
|
||||
|
||||
# The default home directory.
|
||||
HOME=/home
|
||||
|
||||
# The number of days after a password expires until the account is permanently
|
||||
# disabled
|
||||
INACTIVE=-1
|
||||
|
||||
# The default expire date
|
||||
EXPIRE=
|
||||
|
||||
# The SKEL variable specifies the directory containing "skeletal" user files;
|
||||
# in other words, files such as a sample .profile that will be copied to the
|
||||
# new user's home directory when it is created.
|
||||
SKEL=/etc/skel
|
||||
|
||||
# Defines whether the mail spool should be created while
|
||||
# creating the account
|
||||
CREATE_MAIL_SPOOL=no
|
|
@ -0,0 +1,2 @@
|
|||
# Utilized to prioritize wrapper applications in PATH
|
||||
PATH="/usr/abin:$PATH"
|
|
@ -0,0 +1 @@
|
|||
Defaults secure_path="/usr/abin:/usr/local/sbin:/usr/local/bin:/usr/bin"
|
|
@ -0,0 +1 @@
|
|||
%wheel ALL=(ALL:ALL) ALL
|
|
@ -0,0 +1 @@
|
|||
vm.max_map_count=1048576
|
|
@ -0,0 +1,57 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
if [[ ! $1 ]]; then
|
||||
cat <<-END
|
||||
Usage: ${0##*/} enable|disable|status
|
||||
|
||||
Enable or disable read-only on currently booted Btrfs subvolume.
|
||||
END
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
printf 'You have to be root to perform this action.\n'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $2 ]]; then
|
||||
printf 'This script only takes a single argument.\n'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $1 == 'enable' ]]; then
|
||||
|
||||
if btrfs property get / 2> /dev/null | grep -q 'ro=true'; then
|
||||
printf 'The root filesystem is already locked.\n'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
printf 'Locking the root filesystem...\n'
|
||||
btrfs property set / ro true
|
||||
|
||||
elif [[ $1 == 'disable' ]]; then
|
||||
|
||||
if btrfs property get / 2> /dev/null | grep -q 'ro=false'; then
|
||||
printf 'The root filesystem is already unlocked.\n'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
printf 'Unlocking the root filesystem...\n'
|
||||
btrfs property set / ro false &&
|
||||
printf 'The root filesystem has now been unlocked, note that any changes made to it will not be carried over to future OS image updates.\n'
|
||||
|
||||
elif [[ $1 == 'status' ]]; then
|
||||
|
||||
if btrfs property get / 2> /dev/null | grep -q 'ro=true'; then
|
||||
printf 'enabled\n'
|
||||
elif btrfs property get / 2> /dev/null | grep -q 'ro=false'; then
|
||||
printf 'disabled\n'
|
||||
else
|
||||
printf 'unknown\n'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
else
|
||||
printf 'No valid argument provided.\n'
|
||||
exit 1
|
||||
fi
|
|
@ -0,0 +1 @@
|
|||
/usr/bin/nvim
|
|
@ -0,0 +1 @@
|
|||
/usr/bin/nvim
|
13
arkdep-build.d/test-debian-gnome/package.list
Normal file
13
arkdep-build.d/test-debian-gnome/package.list
Normal file
|
@ -0,0 +1,13 @@
|
|||
dracut
|
||||
flatpak
|
||||
gdm3
|
||||
gnome-backgrounds
|
||||
gnome-console
|
||||
gnome-control-center
|
||||
gnome-menus
|
||||
gnome-shell
|
||||
gnome-software
|
||||
gnome-software-plugin-flatpak
|
||||
gnome-system-monitor
|
||||
linux-image-amd64
|
||||
nautilus
|
1
arkdep-build.d/test-debian-gnome/repo
Normal file
1
arkdep-build.d/test-debian-gnome/repo
Normal file
|
@ -0,0 +1 @@
|
|||
http://deb.debian.org/debian
|
1
arkdep-build.d/test-debian-gnome/suite
Normal file
1
arkdep-build.d/test-debian-gnome/suite
Normal file
|
@ -0,0 +1 @@
|
|||
sid
|
1
arkdep-build.d/test-debian-gnome/type
Normal file
1
arkdep-build.d/test-debian-gnome/type
Normal file
|
@ -0,0 +1 @@
|
|||
debian
|
Loading…
Add table
Reference in a new issue