updated stuff
This commit is contained in:
2
flake.nix
Normal file → Executable file
2
flake.nix
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
stable.url = github:nixos/nixpkgs/nixos-20.09;
|
stable.url = github:nixos/nixpkgs/nixos-20.09;
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
||||||
|
@@ -6,7 +6,18 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
./stuff/programs/nvim.nix
|
./stuff/programs/nvim.nix
|
||||||
./stuff/programs/emacs.nix
|
./stuff/programs/emacs.nix
|
||||||
|
./stuff/secret.nix
|
||||||
];
|
];
|
||||||
|
/* age = {
|
||||||
|
sshKeyPaths = [ "${home}/.ssh/id_ed25519" ];
|
||||||
|
secrets = {
|
||||||
|
zshrc = {
|
||||||
|
file = ./secrets/.zshrc.age;
|
||||||
|
path = "${home}/.zshrc";
|
||||||
|
mode = "660";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};*/
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
pamixer
|
pamixer
|
||||||
|
9
marisa.nix
Normal file → Executable file
9
marisa.nix
Normal file → Executable file
@@ -2,12 +2,13 @@
|
|||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./modules/xorg.nix
|
#<nixpkgs/nixos/modules/profiles/all-hardware.nix>
|
||||||
./modules/pipewire.nix
|
|
||||||
./marisa/pkgs.nix
|
./marisa/pkgs.nix
|
||||||
./marisa/networking.nix
|
./marisa/networking.nix
|
||||||
./marisa/stuff.nix
|
./marisa/stuff.nix
|
||||||
./satori/hardware.nix
|
./marisa/hardware.nix
|
||||||
|
./marisa/boot.nix
|
||||||
|
./marisa/services.nix
|
||||||
];
|
];
|
||||||
boot.loader.grub.enable = false;
|
system.stateVersion = "21.05";
|
||||||
}
|
}
|
||||||
|
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 = {
|
networking = {
|
||||||
hostName = "Marisa";
|
hostName = "Marisa";
|
||||||
wireless.enable = true;
|
wireless.enable = false;
|
||||||
|
wireless.iwd.enable = true;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
wlan0 = {
|
wlan0 = {
|
||||||
useDHCP = false;
|
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, ...}:
|
{lib, config, pkgs, ...}:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
xclip
|
|
||||||
xorg.xkbcomp
|
|
||||||
p7zip
|
p7zip
|
||||||
git
|
git
|
||||||
gnumake
|
gnumake
|
||||||
neofetch
|
neofetch
|
||||||
|
kbd
|
||||||
htop
|
htop
|
||||||
feh
|
|
||||||
st
|
|
||||||
dwm
|
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
@@ -26,9 +22,7 @@
|
|||||||
};
|
};
|
||||||
gnupg = {
|
gnupg = {
|
||||||
agent = {
|
agent = {
|
||||||
enableSSHSupport = true;
|
|
||||||
enable = 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