Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 12e05c42f8 | |||
| 709e89c017 | |||
| b35c95b4c8 | |||
| 5a1f5a9894 |
@@ -86,6 +86,7 @@ in
|
|||||||
"five-hour-limit"
|
"five-hour-limit"
|
||||||
];
|
];
|
||||||
projects.${account.nixosConfigurationPath}.trust_level = "trusted";
|
projects.${account.nixosConfigurationPath}.trust_level = "trusted";
|
||||||
|
projects."${config.homeDirectory}/work/repos/yookr_data_science".trust_level = "trusted";
|
||||||
sandbox_mode = "workspace-write";
|
sandbox_mode = "workspace-write";
|
||||||
personality = "pragmatic";
|
personality = "pragmatic";
|
||||||
features.undo = true;
|
features.undo = true;
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
programs.jq.enable = true;
|
programs.jq.enable = true;
|
||||||
programs.bun.enable = true;
|
programs.bun.enable = true;
|
||||||
programs.ripgrep.enable = true;
|
programs.ripgrep.enable = true;
|
||||||
programs.uv.enable = true;
|
#programs.uv.enable = true;
|
||||||
|
|
||||||
programs.git.ignores = [
|
programs.git.ignores = [
|
||||||
"devenv.*"
|
"devenv.*"
|
||||||
|
|||||||
@@ -0,0 +1,75 @@
|
|||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
palette = config.repo.theme.kanagawa.palette;
|
||||||
|
hex = lib.removePrefix "#";
|
||||||
|
terminalPalette = palette.terminal;
|
||||||
|
mkPalette = colors: lib.concatStringsSep ";" (map hex colors);
|
||||||
|
in
|
||||||
|
{
|
||||||
|
flake.modules.nixos.limine =
|
||||||
|
{ config, lib, ... }:
|
||||||
|
let
|
||||||
|
displayValues = builtins.attrValues (config.facts.machine.displays or { });
|
||||||
|
primaryDisplays = lib.filter (display: display.primary or false) displayValues;
|
||||||
|
primaryDisplay = if primaryDisplays == [ ] then null else builtins.head primaryDisplays;
|
||||||
|
interfaceResolution =
|
||||||
|
if primaryDisplay != null && primaryDisplay ? width && primaryDisplay ? height then
|
||||||
|
"${toString primaryDisplay.width}x${toString primaryDisplay.height}"
|
||||||
|
else
|
||||||
|
null;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
boot.loader = {
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
limine = {
|
||||||
|
enable = true;
|
||||||
|
maxGenerations = 10;
|
||||||
|
resolution = "2560x1440";
|
||||||
|
|
||||||
|
style = {
|
||||||
|
backdrop = hex palette.secondaryBackground;
|
||||||
|
|
||||||
|
graphicalTerminal = {
|
||||||
|
background = "00${hex palette.background}";
|
||||||
|
foreground = hex palette.foreground;
|
||||||
|
brightForeground = hex palette.selectionForeground;
|
||||||
|
brightBackground = hex palette.selectionBackground;
|
||||||
|
palette = mkPalette [
|
||||||
|
terminalPalette.color0
|
||||||
|
terminalPalette.color1
|
||||||
|
terminalPalette.color2
|
||||||
|
terminalPalette.color3
|
||||||
|
terminalPalette.color4
|
||||||
|
terminalPalette.color5
|
||||||
|
terminalPalette.color6
|
||||||
|
terminalPalette.color7
|
||||||
|
];
|
||||||
|
brightPalette = mkPalette [
|
||||||
|
terminalPalette.color8
|
||||||
|
terminalPalette.color9
|
||||||
|
terminalPalette.color10
|
||||||
|
terminalPalette.color11
|
||||||
|
terminalPalette.color12
|
||||||
|
terminalPalette.color13
|
||||||
|
terminalPalette.color14
|
||||||
|
terminalPalette.color15
|
||||||
|
];
|
||||||
|
font = {
|
||||||
|
scale = "2x2";
|
||||||
|
spacing = 1;
|
||||||
|
};
|
||||||
|
margin = 64;
|
||||||
|
marginGradient = 24;
|
||||||
|
};
|
||||||
|
|
||||||
|
interface = {
|
||||||
|
branding = config.networking.hostName;
|
||||||
|
brandingColor = hex palette.accents.blue;
|
||||||
|
helpHidden = false;
|
||||||
|
resolution = interfaceResolution;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -39,7 +39,7 @@ in
|
|||||||
|
|
||||||
# 2. Runtime Dependencies (from lspsAndRuntimeDeps)
|
# 2. Runtime Dependencies (from lspsAndRuntimeDeps)
|
||||||
# These are added to the PATH of the wrapper
|
# These are added to the PATH of the wrapper
|
||||||
extraPackages = with pkgs; [
|
runtimePkgs = with pkgs; [
|
||||||
# Tools
|
# Tools
|
||||||
universal-ctags
|
universal-ctags
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ in
|
|||||||
nixosModules.printing
|
nixosModules.printing
|
||||||
nixosModules.sddm
|
nixosModules.sddm
|
||||||
nixosModules.sops-admin-key-file
|
nixosModules.sops-admin-key-file
|
||||||
nixosModules.systemd-boot
|
nixosModules.limine
|
||||||
nixosModules.theme
|
nixosModules.theme
|
||||||
nixosModules.ai
|
nixosModules.ai
|
||||||
nixosModules.hidraw-access
|
nixosModules.hidraw-access
|
||||||
|
|||||||
Reference in New Issue
Block a user