pi4
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
user = "matt";
|
||||
password = "$y$j9T$EkPXmsmIMFFZ.WRrBYCxS1$P0kwo6e4.WM5DsqUcEqWC3MrZp5KfCjxffraMFZWu06";
|
||||
SSID = "Joey's Jungle 5G";
|
||||
SSIDpassword = "kR8v&3Qd";
|
||||
SSIDpassword = config.sops.templates."wifi-password".content;
|
||||
interface = "wlan0";
|
||||
timezone = "America/Chicago";
|
||||
hostname = "pi4";
|
||||
@@ -17,6 +17,8 @@ in
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./impermanence.nix
|
||||
./sops.nix
|
||||
../default.nix
|
||||
];
|
||||
|
||||
@@ -44,6 +46,17 @@ in
|
||||
# ];
|
||||
};
|
||||
|
||||
services.xerver = {
|
||||
enable = true;
|
||||
desktopManager = {
|
||||
budgie.enable = true;
|
||||
};
|
||||
displayManager = {
|
||||
lightdm.enable = true;
|
||||
lightdm.defaultSession = "budgie-desktop";
|
||||
};
|
||||
};
|
||||
|
||||
# hardware = {
|
||||
# raspberry-pi."4".fkms-3d.enable = true;
|
||||
# raspberry-pi."4".apply-overlays-dtmerge.enable = true;
|
||||
@@ -58,8 +71,6 @@ in
|
||||
# Set your time zone.
|
||||
time.timeZone = timezone;
|
||||
|
||||
sound.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = hostname;
|
||||
wireless = {
|
||||
@@ -82,6 +93,9 @@ in
|
||||
vim
|
||||
libraspberrypi
|
||||
raspberrypi-eeprom
|
||||
raspberrypifw
|
||||
raspberrypiWirelessFirmware
|
||||
raspberrypi-armstubs
|
||||
htop
|
||||
git
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user