diff options
| author | caley <195605706+cqley@users.noreply.github.com> | 2026-07-12 15:56:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-12 15:56:35 +0200 |
| commit | 55ba58e762c5b014c1c03f30b2370c0e032c6018 (patch) | |
| tree | 4a3d47fb1c8bfdb6a2bbbf31475962bd01fa5516 /nixos/hosts | |
| parent | 199e7b42b8bc8840689a9bc56eede44ff8f9f8f5 (diff) | |
Update box.nix
Diffstat (limited to 'nixos/hosts')
| -rw-r--r-- | nixos/hosts/box/box.nix | 235 |
1 files changed, 4 insertions, 231 deletions
diff --git a/nixos/hosts/box/box.nix b/nixos/hosts/box/box.nix index 40f6a1d..1f32acf 100644 --- a/nixos/hosts/box/box.nix +++ b/nixos/hosts/box/box.nix @@ -5,8 +5,11 @@ ../../mdls/hypr.nix ../../mdls/qksh.nix ../../mdls/vi.nix + ../../mdls/btop.nix ../../mdls/colors.nix - ../../mdls/dayz.nix + ../../mdls/obsidian.nix + ../../mdls/gms/dayz.nix + ../../mdls/gms/mc.nix ]; home.username = "cat"; @@ -15,7 +18,6 @@ xdg.configFile."fish/config.fish".force = true; xdg.configFile."kitty/kitty.conf".force = true; - xdg.configFile."btop/btop.conf".force = true; programs.fish = { enable = true; @@ -73,87 +75,6 @@ ''; }; - programs.btop = { - enable = true; - settings = { - color_theme = "TTY"; - theme_background = true; - truecolor = true; - force_tty = false; - presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"; - vim_keys = false; - rounded_corners = false; - terminal_sync = true; - update_ms = 2000; - background_update = true; - clock_format = "%X"; - base_10_sizes = false; - base_10_bitrate = "Auto"; - log_level = "WARNING"; - save_config_on_exit = true; - shown_boxes = "cpu mem net proc"; - graph_symbol = "braille"; - graph_symbol_cpu = "default"; - graph_symbol_gpu = "default"; - graph_symbol_mem = "default"; - graph_symbol_net = "default"; - graph_symbol_proc = "default"; - cpu_bottom = false; - cpu_graph_upper = "Auto"; - cpu_graph_lower = "Auto"; - cpu_invert_lower = true; - cpu_single_graph = false; - check_temp = true; - cpu_sensor = "Auto"; - show_coretemp = true; - cpu_core_map = ""; - temp_scale = "celsius"; - show_cpu_freq = true; - freq_mode = "first"; - show_cpu_watts = true; - show_uptime = true; - custom_cpu_name = ""; - proc_left = false; - proc_sorting = "cpu lazy"; - proc_reversed = false; - proc_tree = false; - proc_colors = true; - proc_gradient = true; - proc_per_core = false; - proc_mem_bytes = true; - proc_cpu_graphs = true; - proc_info_smaps = false; - proc_filter_kernel = false; - proc_aggregate = false; - keep_dead_proc_usage = false; - mem_graphs = true; - mem_below_net = false; - show_swap = true; - swap_disk = true; - zfs_arc_cached = true; - show_disks = true; - disks_filter = ""; - only_physical = true; - use_fstab = true; - disk_free_priv = false; - show_io_stat = true; - io_mode = false; - io_graph_combined = false; - io_graph_speeds = ""; - zfs_hide_datasets = false; - net_iface = ""; - net_auto = true; - net_sync = true; - net_download = 100; - net_upload = 100; - show_gpu_info = "Auto"; - shown_gpus = "nvidia"; - gpu_mirror_graph = true; - nvml_measure_pcie_speeds = true; - rsmi_measure_pcie_speeds = true; - }; - }; - home.pointerCursor = { enable = true; gtk.enable = true; @@ -202,153 +123,5 @@ ''; }; - home.file = { - ".documents/obsidian/.obsidian/app.json".text = builtins.toJSON { - readableLineLength = true; - foldHeading = true; - showLineNumber = true; - spellcheck = false; - vimMode = false; - newFileLocation = "current"; - promptDelete = false; - }; - ".documents/obsidian/.obsidian/appearance.json".text = builtins.toJSON { - accentColor = "#ffa8db"; - cssTheme = ""; - theme = "obsidian"; - }; - ".documents/obsidian/.obsidian/core-plugins.json".text = builtins.toJSON { - "file-explorer" = true; - "global-search" = true; - "switcher" = false; - "graph" = true; - "backlink" = false; - "canvas" = false; - "outgoing-link" = true; - "tag-pane" = true; - "footnotes" = false; - "properties" = false; - "page-preview" = true; - "daily-notes" = true; - "templates" = false; - "note-composer" = false; - "command-palette" = false; - "slash-command" = false; - "editor-status" = true; - "bookmarks" = false; - "markdown-importer" = false; - "zk-prefixer" = false; - "random-note" = false; - "outline" = true; - "word-count" = true; - "slides" = false; - "audio-recorder" = false; - "workspaces" = false; - "file-recovery" = true; - "publish" = false; - "sync" = false; - "bases" = false; - "webviewer" = false; - }; - }; - - systemd.user.services.obsidian = { - Unit.Description = "obsidian git sync"; - Service = { - ExecStart = "${pkgs.writeShellScript "obsidian" '' - while true; do - cd /home/cat/.documents/obsidian || exit 1 - if [ ! -d .git ]; then - exit 1 - fi - git add . - if ! git diff-index --quiet HEAD; then - git commit -m "sync $(date +'%Y-%m-%d %H:%M:%S')" - git pull --rebase origin main - git push origin main - fi - sleep 60 - done - ''}"; - Restart = "always"; - }; - Install.WantedBy = [ "default.target" ]; - }; - -home.file.".local/share/PrismLauncher/prismlauncher.cfg" = { - text = pkgs.lib.generators.toINI {} { - General = { - ApplicationTheme = "dark"; - AutoCloseConsole = false; - AutomaticJavaDownload = false; - AutomaticJavaSwitch = true; - CatFit = "fit"; - CatOpacity = 100; - CentralModsDir = "mods"; - CloseAfterLaunch = false; - ConfigVersion = "1.3"; - ConsoleFont = "DejaVu Sans Mono"; - ConsoleFontSize = 11; - ConsoleMaxLines = 100000; - ConsoleOverflowStop = true; - DownloadsDir = "/home/cat/Downloads"; - DownloadsDirWatchRecursive = false; - EnableFeralGamemode = false; - EnableMangoHud = false; - Env = "{}"; - FallbackMRBlockedMods = 2; - IconTheme = "pe_colored"; - IconsDir = "icons"; - IgnoreJavaCompatibility = false; - IgnoreJavaWizard = false; - InstRenamingMode = "AskEverytime"; - InstSortMode = "Name"; - InstanceDir = "instances"; - JavaArchitecture = "64"; - JavaDir = "java"; - Language = "en_US"; - LastHostname = "box"; - LaunchMaximized = false; - LowMemWarning = true; - MaxMemAlloc = 6016; - MinMemAlloc = 2048; - MinecraftWinHeight = 480; - MinecraftWinWidth = 854; - ModDependenciesDisabled = false; - ModMetadataDisabled = false; - MoveModsFromDownloadsDir = false; - NumberOfConcurrentDownloads = 6; - NumberOfConcurrentTasks = 10; - NumberOfManualRetries = 1; - OnlineFixes = false; - PastebinType = 3; - PermGen = 128; - ProxyAddr = "127.0.0.1"; - ProxyPort = 8080; - ProxyType = "None"; - QuitAfterGameStop = false; - RecordGameTime = true; - RequestTimeout = 60; - ShowConsole = false; - ShowConsoleOnError = true; - ShowGameTime = true; - ShowGameTimeWithoutDays = false; - ShowGlobalGameTime = true; - ShowModIncompat = false; - SkinsDir = "skins"; - SkipModpackUpdatePrompt = false; - StatusBarVisible = true; - TheCat = false; - ToolbarsLocked = false; - UseDiscreteGpu = false; - UseNativeGLFW = false; - UseNativeOpenAL = false; - UseZink = false; - UserAskedAboutAutomaticJavaDownload = true; - }; - }; - force = true; - }; - programs.home-manager.enable = true; } |
