updated stuff
This commit is contained in:
18
marisa/boot.nix
Executable file
18
marisa/boot.nix
Executable file
@@ -0,0 +1,18 @@
|
||||
{config, ...}:
|
||||
{
|
||||
boot = {
|
||||
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas"];
|
||||
initrd.kernelModules = [ ];
|
||||
kernelModules = [ ];
|
||||
extraModulePackages = [ ];
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable= true;
|
||||
raspberryPi= {
|
||||
version = 4;
|
||||
firmwareConfig = "dtparam=sd_poll_once=on";
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
22
marisa/hardware.nix
Executable file
22
marisa/hardware.nix
Executable file
@@ -0,0 +1,22 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/nix/store" =
|
||||
{ device = "/nix/store";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
||||
hardware.firmware = with pkgs; [ raspberrypiWirelessFirmware ];
|
||||
}
|
3
marisa/networking.nix
Normal file → Executable file
3
marisa/networking.nix
Normal file → Executable file
@@ -2,7 +2,8 @@
|
||||
{
|
||||
networking = {
|
||||
hostName = "Marisa";
|
||||
wireless.enable = true;
|
||||
wireless.enable = false;
|
||||
wireless.iwd.enable = true;
|
||||
interfaces = {
|
||||
wlan0 = {
|
||||
useDHCP = false;
|
||||
|
8
marisa/pkgs.nix
Normal file → Executable file
8
marisa/pkgs.nix
Normal file → Executable file
@@ -1,16 +1,12 @@
|
||||
{lib, config, pkgs, ...}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
xclip
|
||||
xorg.xkbcomp
|
||||
p7zip
|
||||
git
|
||||
gnumake
|
||||
neofetch
|
||||
kbd
|
||||
htop
|
||||
feh
|
||||
st
|
||||
dwm
|
||||
vim
|
||||
wget
|
||||
];
|
||||
@@ -26,9 +22,7 @@
|
||||
};
|
||||
gnupg = {
|
||||
agent = {
|
||||
enableSSHSupport = true;
|
||||
enable = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
6
marisa/services.nix
Executable file
6
marisa/services.nix
Executable file
@@ -0,0 +1,6 @@
|
||||
{config, ...}:
|
||||
{
|
||||
services = {
|
||||
sshd.enable = true;
|
||||
};
|
||||
}
|
0
marisa/stuff.nix
Normal file → Executable file
0
marisa/stuff.nix
Normal file → Executable file
Reference in New Issue
Block a user