Run formatter
This commit is contained in:
@@ -4,7 +4,10 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
mkUser = {userName, uid}: {
|
mkUser = {
|
||||||
|
userName,
|
||||||
|
uid,
|
||||||
|
}: {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
home = "/home/${userName}";
|
home = "/home/${userName}";
|
||||||
initialPassword = "password";
|
initialPassword = "password";
|
||||||
@@ -18,7 +21,6 @@
|
|||||||
userName = "daniel";
|
userName = "daniel";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
@@ -79,6 +81,7 @@ in {
|
|||||||
git
|
git
|
||||||
htop
|
htop
|
||||||
helix
|
helix
|
||||||
|
jq
|
||||||
nnn
|
nnn
|
||||||
ripgrep
|
ripgrep
|
||||||
wget
|
wget
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk
|
noto-fonts-cjk
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
(nerdfonts.override {fonts = ["Iosevka"]; })
|
(nerdfonts.override {fonts = ["Iosevka"];})
|
||||||
ubuntu_font_family
|
ubuntu_font_family
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -61,8 +61,8 @@
|
|||||||
)
|
)
|
||||||
];
|
];
|
||||||
extraRules = ''
|
extraRules = ''
|
||||||
# Raspberry Pi Picoprobe
|
# Raspberry Pi Picoprobe
|
||||||
SUBSYSTEM="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0666"
|
SUBSYSTEM="usb", ATTRS{idVendor}=="2e8a", ATTRS{idProduct}=="0003", MODE="0666"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
{...}:
|
{...}: {
|
||||||
{
|
|
||||||
services.fail2ban = {
|
services.fail2ban = {
|
||||||
enable = true;
|
enable = true;
|
||||||
maxretry = 5;
|
maxretry = 5;
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
enable = true;
|
enable = true;
|
||||||
appName = "The Broccoli Patch"; # Give the site a name
|
appName = "The Broccoli Patch"; # Give the site a name
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{
|
{...}: {
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.golink = {
|
services.golink = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
{ config, ... }:
|
{config, ...}: {
|
||||||
{
|
|
||||||
virtualisation.oci-containers = {
|
virtualisation.oci-containers = {
|
||||||
backend = "docker";
|
backend = "docker";
|
||||||
containers = {
|
containers = {
|
||||||
"livebook" = {
|
"livebook" = {
|
||||||
image = "ghcr.io/livebook-dev/livebook";
|
image = "ghcr.io/livebook-dev/livebook";
|
||||||
ports = [ "8080:8080" "8081:8081" ];
|
ports = ["8080:8080" "8081:8081"];
|
||||||
volumes = [ "/home/daniel/livebook/data:/data" ];
|
volumes = ["/home/daniel/livebook/data:/data"];
|
||||||
user = "${toString config.users.users."daniel".uid}:${toString config.users.groups."users".gid}";
|
user = "${toString config.users.users."daniel".uid}:${toString config.users.groups."users".gid}";
|
||||||
environmentFiles = [ "/home/daniel/.livebook_env" ];
|
environmentFiles = ["/home/daniel/.livebook_env"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
./waybar
|
./waybar
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
".age/age.txt" = {
|
".age/age.txt" = {
|
||||||
source = config.lib.file.mkOutOfStoreSymlink "/run/agenix/age_identity";
|
source = config.lib.file.mkOutOfStoreSymlink "/run/agenix/age_identity";
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{...}:
|
{...}: {
|
||||||
|
|
||||||
{
|
|
||||||
programs.neovim.enable = true;
|
programs.neovim.enable = true;
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
|||||||
@@ -153,8 +153,8 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
gui.theme = {
|
gui.theme = {
|
||||||
selectedLineBgColor = [ "reverse" ];
|
selectedLineBgColor = ["reverse"];
|
||||||
selectedRangeBgColor = [ "reverse" ];
|
selectedRangeBgColor = ["reverse"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user