parent
3337820bd7
commit
a6eb2ef366
1 changed files with 50 additions and 6 deletions
|
|
@ -6,14 +6,58 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
(import "${inputs.mobile-nixos}/lib/configuration.nix" { device = "oneplus-enchilada"; })
|
(import "${inputs.mobile-nixos}/lib/configuration.nix" { device = "oneplus-enchilada"; })
|
||||||
../../../modules/nixos
|
|
||||||
];
|
];
|
||||||
|
|
||||||
osbmModules = {
|
# Allow unfree packages (needed for OnePlus firmware)
|
||||||
desktopEnvironment = "gnome";
|
nixpkgs.config.allowUnfree = true;
|
||||||
machineType = "mobile";
|
|
||||||
hardware.systemd-boot.enable = false; # Mobile devices use different bootloader
|
# Enable SSH server (essential for mobile device access)
|
||||||
};
|
services.openssh.enable = true;
|
||||||
|
services.openssh.settings.PermitRootLogin = "yes"; # For initial setup
|
||||||
|
services.openssh.settings.PasswordAuthentication = true; # For initial setup
|
||||||
|
|
||||||
|
# Set root password for SSH access
|
||||||
|
users.users.root.password = "nixtheplanet";
|
||||||
|
|
||||||
|
# Enable GNOME Desktop Environment
|
||||||
|
services.xserver.enable = true;
|
||||||
|
services.desktopManager.gnome.enable = true;
|
||||||
|
services.displayManager.gdm.enable = true;
|
||||||
|
|
||||||
|
# Enable GNOME Keyring for password management
|
||||||
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
|
# Enable dconf for GNOME settings
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
|
# Remove unwanted GNOME applications
|
||||||
|
environment.gnome.excludePackages = with pkgs; [
|
||||||
|
baobab # disk usage analyzer
|
||||||
|
cheese # photo booth
|
||||||
|
eog # image viewer
|
||||||
|
epiphany # web browser
|
||||||
|
simple-scan # document scanner
|
||||||
|
totem # video player
|
||||||
|
yelp # help viewer
|
||||||
|
evince # document viewer
|
||||||
|
file-roller # archive manager
|
||||||
|
geary # email client
|
||||||
|
seahorse # password manager
|
||||||
|
gnome-calculator
|
||||||
|
gnome-calendar
|
||||||
|
gnome-characters
|
||||||
|
gnome-clocks
|
||||||
|
gnome-contacts
|
||||||
|
gnome-font-viewer
|
||||||
|
gnome-logs
|
||||||
|
gnome-maps
|
||||||
|
gnome-music
|
||||||
|
gnome-screenshot
|
||||||
|
gnome-system-monitor
|
||||||
|
gnome-weather
|
||||||
|
gnome-disk-utility
|
||||||
|
pkgs.gnome-connections
|
||||||
|
];
|
||||||
|
|
||||||
# Minimal essential packages
|
# Minimal essential packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue