nix-config/phone/configuration.nix
Donovan Glover 97ae27a86e
phone: Add base configuration
This was my attempt at adding some essential programs to the PinePhone
before combining its configuration with this existing nix-config.
2024-06-13 13:26:12 -04:00

76 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
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 = {
user = "user";
};
users.users."user" = {
isNormalUser = true;
description = "User";
password = "user";
extraGroups = [
"dialout"
"feedbackd"
"networkmanager"
"video"
"wheel"
];
};
system.stateVersion = "23.11";
}