foot, vintage fonts, scope operator

This commit is contained in:
atagen 2025-08-12 15:47:26 +10:00
parent 8d77e96d89
commit 5575604452
46 changed files with 803 additions and 702 deletions

View file

@ -1,19 +1,19 @@
{ config, ... }:
{
boot.initrd.availableKernelModules = [
{ scope, ... }:
scope "boot" {
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"usbcore"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.initrd.verbose = false;
boot.kernelModules = [
initrd.kernelModules = [ ];
initrd.verbose = false;
kernelModules = [
"kvm-amd"
"i2c-dev"
];
boot.consoleLogLevel = 0;
boot.kernelParams = [
consoleLogLevel = 0;
kernelParams = [
"mitigations=off"
"preempt=full"
"quiet"
@ -22,18 +22,18 @@
"rd.udev.log_level=3"
"vt.global_cursor_default=0"
];
boot.supportedFilesystems = {
supportedFilesystems = {
ntfs = true;
btrfs = true;
};
boot.loader.efi.canTouchEfiVariables = true;
boot.plymouth = {
loader.efi.canTouchEfiVariables = true;
plymouth = {
enable = true;
# theme needs fixing
# inherit (config.rice.plymouth) theme themePackages font;
};
boot.loader.limine.extraEntries = ''
loader.limine.extraEntries = ''
/Windows
protocol: efi
path: boot():/EFI/Microsoft/Boot/bootmgfw.efi

View file

@ -1,5 +1,4 @@
{ ... }:
{
_: {
fileSystems = {
"/" = {

View file

@ -1,11 +1,16 @@
{ inputs, config, ... }:
{
services.ollama = {
inputs,
config,
scope,
...
}:
scope "services" {
ollama = {
enable = true;
user = "ollama";
};
services.open-webui = {
open-webui = {
package = inputs.nixpkgs-stable.legacyPackages.x86_64-linux.open-webui;
enable = true;
port = 8088;

View file

@ -1,14 +1,11 @@
{ ... }:
{
hm.programs.niri.settings.outputs = {
"DP-1" = {
transform.rotation = 90;
scale = 1;
};
"DP-2" = {
variable-refresh-rate = true;
scale = 1;
};
{ scope, ... }:
scope "hm.programs.niri.settings.outputs" {
"DP-1" = {
transform.rotation = 90;
scale = 1;
};
"DP-2" = {
variable-refresh-rate = true;
scale = 1;
};
}