repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
core.luaLua55 lines2.1 KiBraw download
-- core.lua — compositor settings for the Valeon II 17.
--
-- Stock Hyprland except what the migration prompt pins: panel mode and scale,
-- keyboard options, square corners, blur on, Rosé Pine borders, the stock
-- Caelestia layer rules. The animation rice from the old looknfeel.lua is
-- deliberately not carried.

-- Panel at 1.25; anything plugged in later gets its preferred mode.
hl.monitor({ output = "eDP-1", mode = "2560x1440@240", position = "0x0", scale = 1.25 })
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1 })

-- Cursor theme files come from the dotfiles checkout (home/modules/tools.nix).
hl.env("XCURSOR_THEME", "modernxp-retro-black")
hl.env("XCURSOR_SIZE", "24")
hl.env("HYPRCURSOR_THEME", "modernxp-retro-black-hyprcursor")
hl.env("HYPRCURSOR_SIZE", "24")

hl.config({
  general = {
    gaps_in = 5, -- Hyprland defaults, stated because the gaps toggle restores them
    gaps_out = 20,
    col = {
      -- Rosé Pine: love → iris at 45°; inactive the stock grey
      active_border = { colors = { "rgba(eb6f92ee)", "rgba(c4a7e7ee)" }, angle = 45 },
      inactive_border = "rgba(595959aa)",
    },
    layout = "dwindle",
  },
  decoration = {
    rounding = 0,
    blur = { enabled = true },
  },
  dwindle = { preserve_split = true },
  input = {
    kb_layout = "us",
    kb_options = "compose:caps,shift:both_capslock_cancel",
    follow_mouse = 1,
  },
  misc = {
    force_default_wallpaper = 0,
    disable_hyprland_logo = true,
  },
})

-- Stock Caelestia layer rules (caelestia-dots/caelestia, hypr/hyprland/rules.lua).
-- The blur / ignore_alpha rule for ^caelestia- is in caelestia.lua, as carried.
hl.layer_rule({ match = { namespace = "caelestia-(border-exclusion|area-picker)" }, no_anim = true })
hl.layer_rule({ match = { namespace = "caelestia-(drawers|background)" }, animation = "fade" })

hl.on("hyprland.start", function()
  -- uwsm waits for the compositor to hand over its environment
  -- (HYPRLAND_INSTANCE_SIGNATURE and friends) before graphical-session.target.
  hl.exec_cmd("uwsm finalize")
  hl.exec_cmd("hyprctl setcursor modernxp-retro-black-hyprcursor 24")
end)