add base files

This commit is contained in:
2026-05-28 15:39:18 +09:00
parent d881300a5b
commit 770b1bfb4a
19 changed files with 204 additions and 26 deletions
-11
View File
@@ -1,11 +0,0 @@
{ pkgs, ... }:
{
boot.loader = {
systemd-boot.enable = true;
systemd-boot.configurationLimit = 8;
efi.canTouchEfiVariables = true;
};
boot.supportedFilesystems = [ "nfs" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
}
+4
View File
@@ -0,0 +1,4 @@
{ lib, ... }:
{
boot.loader.systemd-boot.configurationLimit = lib.mkDefault 8;
}
+4
View File
@@ -0,0 +1,4 @@
{ pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages_latest;
}
+3
View File
@@ -0,0 +1,3 @@
_: {
boot.supportedFilesystems = [ "nfs" ];
}
+7
View File
@@ -0,0 +1,7 @@
{ lib, ... }:
{
boot.loader = {
systemd-boot.enable = lib.mkDefault true;
efi.canTouchEfiVariables = lib.mkDefault true;
};
}
+6
View File
@@ -1,11 +1,17 @@
_: {
nix.settings = {
extra-substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
"https://moons-dotfiles.cachix.org"
"https://noctalia.cachix.org"
"https://vicinae.cachix.org"
];
extra-trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"moons-dotfiles.cachix.org-1:WHoroKiNScG2/dpxHHL1I0qVmvuQhJbEAP+DS2j9Rr0="
"noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4="
"vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc="
];
+21
View File
@@ -0,0 +1,21 @@
{ pkgs, ... }:
{
boot.kernelModules = [ "uvcvideo" ];
environment.systemPackages = with pkgs; [
v4l-utils
ffmpeg-full
];
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
security.rtkit.enable = true;
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
}
+14
View File
@@ -0,0 +1,14 @@
# Documentation : /docs/fingerprint.md
_: {
services.fprintd.enable = true;
security.pam.services = {
login.fprintAuth = true;
# sudo
sudo.fprintAuth = true;
# greetd (tuigreet / ReGreet)
greetd.fprintAuth = true;
};
}
+29
View File
@@ -0,0 +1,29 @@
{ pkgs, ... }:
{
fonts = {
packages = with pkgs; [
noto-fonts
noto-fonts-cjk-sans
noto-fonts-color-emoji
terminus_font
cantarell-fonts
font-awesome
nerd-fonts.blex-mono
];
fontDir.enable = true;
fontconfig = {
defaultFonts = {
serif = [
"Noto Serif CJK JP"
"Noto Color Emoji"
];
sansSerif = [
"Noto Sans CJK JP"
"Noto Clor Emoji"
];
emoji = [ "Noto Color Emoji" ];
};
};
};
}
+10
View File
@@ -0,0 +1,10 @@
_: {
nix.gc = {
automatic = true;
dates = "daily";
options = "--delete-older-than 7d";
};
nix.settings.auto-optimise-store = true;
nix.optimise.automatic = true;
}