Update pbp.nix

This commit is contained in:
Aaron Honeycutt 2023-01-11 16:46:37 +00:00
parent 12edfe7ee3
commit 8882ba77a7

View file

@ -6,11 +6,14 @@
# "${nixos-hardware}/pine64/pinebook-pro"
# <nixos-hardware/pine64/pinebook-pro>
./hardware-configuration.nix
./gnome.nix
# ./programs.nix
];
boot.kernelPackages = pkgs.linuxPackages_latest;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
boot.loader = {
efi = {
canTouchEfiVariables = false;
@ -56,13 +59,6 @@
"rtc_rk808"
];
boot.initrd.luks.devices = {
crypt-root = {
device = "/dev/disk/by-label/luks";
preLVM = true;
};
};
networking = {
hostName = "pbp";
networkmanager.enable = true;
@ -77,7 +73,8 @@
fish
git
neofetch
restic
nixos-conf-editor
nix-software-center
wget
];
@ -88,6 +85,14 @@
extraGroups = [ "wheel" "networkmanager" "adm"];
isNormalUser = true;
hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx.";
packages = with pkgs; [
fish
];
shell = pkgs.fish;
};
# Enable Pipewire
@ -111,20 +116,11 @@
# Enable CUPS
services.printing.enable = true;
# Enable GPU acceleration
# hardware.raspberry-pi."4".fkms-3d.enable = true;
# Allow Unfree
nixpkgs.config.allowUnfree = true;
# GNOME
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# System
system.stateVersion = "22.11";
system.autoUpgrade.enable = true;
}