add mobile-nixos machine artemis
This commit is contained in:
parent
993f4347ae
commit
8a3d3c882d
2 changed files with 63 additions and 4 deletions
|
|
@ -47,10 +47,10 @@
|
|||
url = "github:nix-community/disko";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
impermanence = {
|
||||
url = "github:nix-community/impermanence";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
# inputs.home-manager.follows = "home-manager";
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
mobile-nixos = {
|
||||
url = "github:mobile-nixos/mobile-nixos";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
59
hosts/nixos/artemis/configuration.nix
Normal file
59
hosts/nixos/artemis/configuration.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{config, lib, pkgs, ...}: {
|
||||
imports = [
|
||||
(import "${mobile-nixos}/lib/configuration.nix" { device = "oneplus-enchilada"; })
|
||||
];
|
||||
|
||||
# Allow unfree packages (needed for OnePlus firmware)
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# 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
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
vim
|
||||
wget
|
||||
curl
|
||||
lazygit
|
||||
asciiquarium
|
||||
neovim
|
||||
kitty
|
||||
];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue