added corefonts install prompt, added a readable dconf file
This commit is contained in:
parent
57df80368c
commit
b00a6fecd0
2
base.nix
2
base.nix
@ -38,8 +38,6 @@
|
||||
xdg-desktop-portal-gnome
|
||||
];
|
||||
|
||||
fonts.packages = [ pkgs.corefonts ];
|
||||
|
||||
services.flatpak.enable = true;
|
||||
|
||||
system.autoUpgrade = {
|
||||
|
183
config/config/dconf.txt
Normal file
183
config/config/dconf.txt
Normal file
@ -0,0 +1,183 @@
|
||||
[org/cinnamon]
|
||||
alttab-switcher-delay=100
|
||||
alttab-switcher-style='icons'
|
||||
desktop-effects-workspace=false
|
||||
enabled-applets=['panel1:left:0:menu@cinnamon.org:0', 'panel1:left:1:separator@cinnamon.org:1', 'panel1:left:2:grouped-window-list@cinnamon.org:2', 'panel1:right:0:systray@cinnamon.org:3', 'panel1:right:1:xapp-status@cinnamon.org:4', 'panel1:right:2:notifications@cinnamon.org:5', 'panel1:right:3:printers@cinnamon.org:6', 'panel1:right:4:removable-drives@cinnamon.org:7', 'panel1:right:5:keyboard@cinnamon.org:8', 'panel1:right:6:favorites@cinnamon.org:9', 'panel1:right:7:network@cinnamon.org:10', 'panel1:right:8:sound@cinnamon.org:11', 'panel1:right:9:power@cinnamon.org:12', 'panel1:right:10:calendar@cinnamon.org:13', 'panel1:right:11:cornerbar@cinnamon.org:14']
|
||||
favorite-apps=['com.google.Chrome.desktop:flatpak', 'org.gnome.Software.desktop', 'nemo.desktop', 'cinnamon-settings.desktop', 'org.gnome.Terminal.desktop']
|
||||
next-applet-id=15
|
||||
window-effect-speed=1
|
||||
|
||||
[org/cinnamon/desktop/applications/calculator]
|
||||
exec='gnome-calculator'
|
||||
|
||||
[org/cinnamon/desktop/applications/terminal]
|
||||
exec='gnome-terminal'
|
||||
exec-arg='--'
|
||||
|
||||
[org/cinnamon/desktop/interface]
|
||||
clock-use-24h=false
|
||||
cursor-size=24
|
||||
cursor-theme='Bibata-Modern-Classic'
|
||||
gtk-theme='Mint-Y-Dark-Blue'
|
||||
icon-theme='Mint-Y-Blue'
|
||||
toolkit-accessibility=false
|
||||
|
||||
[org/cinnamon/desktop/media-handling]
|
||||
autorun-never=false
|
||||
|
||||
[org/cinnamon/desktop/peripherals/mouse]
|
||||
double-click=400
|
||||
drag-threshold=8
|
||||
speed=0.0
|
||||
|
||||
[org/cinnamon/desktop/peripherals/touchpad]
|
||||
natural-scroll=false
|
||||
speed=0.0
|
||||
|
||||
[org/cinnamon/desktop/sound]
|
||||
event-sounds=false
|
||||
|
||||
[org/cinnamon/desktop/wm/preferences]
|
||||
min-window-opacity=30
|
||||
|
||||
[org/cinnamon/gestures]
|
||||
swipe-down-2='PUSH_TILE_DOWN::end'
|
||||
swipe-down-3='TOGGLE_OVERVIEW::end'
|
||||
swipe-down-4='VOLUME_DOWN::end'
|
||||
swipe-left-2='PUSH_TILE_LEFT::end'
|
||||
swipe-left-3='WORKSPACE_NEXT::end'
|
||||
swipe-left-4='WINDOW_WORKSPACE_PREVIOUS::end'
|
||||
swipe-right-2='PUSH_TILE_RIGHT::end'
|
||||
swipe-right-3='WORKSPACE_PREVIOUS::end'
|
||||
swipe-right-4='WINDOW_WORKSPACE_NEXT::end'
|
||||
swipe-up-2='PUSH_TILE_UP::end'
|
||||
swipe-up-3='TOGGLE_EXPO::end'
|
||||
swipe-up-4='VOLUME_UP::end'
|
||||
tap-3='MEDIA_PLAY_PAUSE::end'
|
||||
|
||||
[org/cinnamon/muffin]
|
||||
draggable-border-width=10
|
||||
|
||||
[org/cinnamon/theme]
|
||||
name='Mint-Y-Dark-Blue'
|
||||
|
||||
[org/gnome/desktop/a11y]
|
||||
always-show-text-caret=false
|
||||
|
||||
[org/gnome/desktop/a11y/applications]
|
||||
screen-keyboard-enabled=false
|
||||
screen-reader-enabled=false
|
||||
|
||||
[org/gnome/desktop/a11y/mouse]
|
||||
dwell-click-enabled=false
|
||||
dwell-threshold=10
|
||||
dwell-time=1.2
|
||||
secondary-click-enabled=false
|
||||
secondary-click-time=1.2
|
||||
|
||||
[org/gnome/desktop/input-sources]
|
||||
current=uint32 0
|
||||
show-all-sources=false
|
||||
sources=@a(ss) []
|
||||
xkb-options=@as []
|
||||
|
||||
[org/gnome/desktop/interface]
|
||||
can-change-accels=false
|
||||
clock-format='12h'
|
||||
clock-show-date=false
|
||||
clock-show-seconds=false
|
||||
cursor-blink=true
|
||||
cursor-blink-time=1200
|
||||
cursor-blink-timeout=10
|
||||
cursor-size=24
|
||||
cursor-theme='Bibata-Modern-Classic'
|
||||
enable-animations=true
|
||||
font-name='Ubuntu 10'
|
||||
gtk-color-palette='black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90'
|
||||
gtk-color-scheme=''
|
||||
gtk-enable-primary-paste=true
|
||||
gtk-im-module=''
|
||||
gtk-im-preedit-style='callback'
|
||||
gtk-im-status-style='callback'
|
||||
gtk-key-theme='Default'
|
||||
gtk-theme='Mint-Y-Dark-Blue'
|
||||
gtk-timeout-initial=200
|
||||
gtk-timeout-repeat=20
|
||||
icon-theme='Mint-Y-Blue'
|
||||
menubar-accel='F10'
|
||||
menubar-detachable=false
|
||||
menus-have-tearoff=false
|
||||
scaling-factor=uint32 0
|
||||
text-scaling-factor=1.0
|
||||
toolbar-detachable=false
|
||||
toolbar-icons-size='large'
|
||||
toolbar-style='both-horiz'
|
||||
toolkit-accessibility=false
|
||||
|
||||
[org/gnome/desktop/peripherals/mouse]
|
||||
accel-profile='default'
|
||||
double-click=400
|
||||
drag-threshold=8
|
||||
left-handed=false
|
||||
middle-click-emulation=false
|
||||
natural-scroll=false
|
||||
speed=0.0
|
||||
|
||||
[org/gnome/desktop/privacy]
|
||||
disable-camera=false
|
||||
disable-microphone=false
|
||||
disable-sound-output=false
|
||||
old-files-age=uint32 30
|
||||
recent-files-max-age=7
|
||||
remember-recent-files=true
|
||||
remove-old-temp-files=false
|
||||
remove-old-trash-files=false
|
||||
|
||||
[org/gnome/desktop/sound]
|
||||
event-sounds=false
|
||||
input-feedback-sounds=false
|
||||
theme-name='LinuxMint'
|
||||
|
||||
[org/gnome/desktop/wm/preferences]
|
||||
action-double-click-titlebar='toggle-maximize'
|
||||
action-middle-click-titlebar='lower'
|
||||
action-right-click-titlebar='menu'
|
||||
audible-bell=false
|
||||
auto-raise=false
|
||||
auto-raise-delay=500
|
||||
button-layout=':minimize,maximize,close'
|
||||
disable-workarounds=false
|
||||
focus-mode='click'
|
||||
focus-new-windows='smart'
|
||||
mouse-button-modifier='<Alt>'
|
||||
num-workspaces=4
|
||||
raise-on-click=true
|
||||
resize-with-right-button=true
|
||||
theme='Mint-Y'
|
||||
titlebar-font='Ubuntu Medium 10'
|
||||
titlebar-uses-system-font=false
|
||||
visual-bell=false
|
||||
visual-bell-type='fullscreen-flash'
|
||||
workspace-names=@as []
|
||||
|
||||
[org/gnome/evolution-data-server]
|
||||
migrated=true
|
||||
|
||||
[org/gnome/software]
|
||||
check-timestamp=int64 1740450557
|
||||
first-run=false
|
||||
|
||||
[org/nemo/window-state]
|
||||
geometry='800x550+50+50'
|
||||
maximized=false
|
||||
sidebar-bookmark-breakpoint=0
|
||||
start-with-sidebar=true
|
||||
|
||||
[org/x/apps/portal]
|
||||
color-scheme='prefer-dark'
|
||||
|
||||
[org/x/warpinator/preferences]
|
||||
ask-for-send-permission=true
|
||||
autostart=false
|
||||
connect-id='NIXOS-B7079DB9A4A8F378B2F2'
|
||||
no-overwrite=true
|
Binary file not shown.
10
install.sh
10
install.sh
@ -19,6 +19,13 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then
|
||||
# The rest of the install should be hands off
|
||||
# Add Nixbook config and rebuild
|
||||
sudo sed -i '/hardware-configuration\.nix/a\ /etc/nixbook/base.nix' /etc/nixos/configuration.nix
|
||||
|
||||
read -p "Do you want to install Microsoft fonts (y/n): " cfonts
|
||||
if [[ "$cfonts" =~ ^[Yy]$ ]]; then
|
||||
sudo sed -i '/nixpkgs.config.allowUnfree = true;/ a\ fonts.packages = [ pkgs.corefonts ];' /etc/nixos/configuration.nix
|
||||
else
|
||||
echo "Microsoft fonts will not be installed"
|
||||
fi
|
||||
|
||||
# Set up flathub repo while we have sudo
|
||||
nix-shell -p flatpak --run 'sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo'
|
||||
@ -29,6 +36,9 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then
|
||||
flatpak install flathub com.google.Chrome -y
|
||||
flatpak install flathub us.zoom.Zoom -y
|
||||
flatpak install flathub org.libreoffice.LibreOffice -y
|
||||
|
||||
# Load dconf config
|
||||
dconf load / < ~/.config/dconf.txt
|
||||
|
||||
reboot
|
||||
else
|
||||
|
@ -23,7 +23,7 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then
|
||||
# Lite has no flathub to save space
|
||||
|
||||
# Load dconf config
|
||||
dconf load / < /etc/nixbook/config/config_lite/dconf.txt
|
||||
dconf load / < ~/.config/dconf.txt
|
||||
|
||||
reboot
|
||||
else
|
||||
|
@ -28,6 +28,9 @@ echo "Powerwashing NixBook..."
|
||||
sudo nixos-rebuild switch --upgrade
|
||||
sudo nixos-rebuild list-generations
|
||||
|
||||
# Load dconf config
|
||||
dconf load / < ~/.config/dconf.txt
|
||||
|
||||
# Add flathub and some apps
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install flathub com.google.Chrome -y
|
||||
|
@ -21,13 +21,13 @@ echo "Powerwashing NixBook Lite..."
|
||||
cp /etc/nixbook/config/desktop_lite/* ~/Desktop/
|
||||
cp -R /etc/nixbook/config/applications_lite ~/.local/share/applications
|
||||
|
||||
# Load dconf config
|
||||
dconf load / < /etc/nixbook/config/config_lite/dconf.txt
|
||||
|
||||
# Clear space and rebuild
|
||||
sudo nix-collect-garbage -d
|
||||
sudo nixos-rebuild boot --upgrade
|
||||
sudo nixos-rebuild list-generations
|
||||
|
||||
# Load dconf config
|
||||
dconf load / < ~/.config/dconf.txt
|
||||
|
||||
reboot
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user