nix-config/phone/configuration.nix
Donovan Glover 4e18c839de
phone: Move mobile-nixos specific config to flake
This makes it possible to create an x86_64 virtual machine without the
hardware-specific customizations of mobile-nixos.
2024-06-15 11:26:47 -04:00

86 lines
1.4 KiB
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
chatty # IM and SMS
epiphany # Web browser
gnome-console # Terminal
megapixels # Camera
neovim
fish
yazi
bat
w3m
librewolf
git
htop
gnupg
mpv
ncmpcpp
pqiv
qutebrowser
starship
eza
fd
fzf
ripgrep
yt-dlp
neofetch
genact
zellij
p7zip
unar
];
programs.fish.enable = true;
programs.neovim.enable = true;
users.defaultUserShell = pkgs.fish;
environment.shells = [ pkgs.fish ];
networking = {
hostName = "mobile-nixos";
wireless.enable = false;
networkmanager.enable = true;
};
hardware = {
pulseaudio = {
enable = true;
package = pkgs.pulseaudioFull;
};
bluetooth.enable = true;
};
powerManagement.enable = true;
zramSwap.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];
services.xserver.desktopManager.phosh = {
enable = true;
group = "users";
user = "user";
};
users.users."user" = {
isNormalUser = true;
description = "User";
password = "user";
extraGroups = [
"dialout"
"feedbackd"
"networkmanager"
"video"
"wheel"
];
};
system.stateVersion = "23.11";
programs.calls.enable = true;
hardware.sensor.iio.enable = true;
}