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