195 current 2025-06-08 01:02:01 25.11.20250605.d3d2d80 6.15.1 *
This commit is contained in:
@@ -11,6 +11,15 @@
|
||||
|
||||
(add-hook 'emacs-startup-hook #'chase/display-startup-time)
|
||||
|
||||
;; automatically create missing directories
|
||||
;; source: https://emacsredux.com/blog/2022/06/12/auto-create-missing-directories/
|
||||
(defun er-auto-create-missing-dirs ()
|
||||
(let ((target-dir (file-name-directory buffer-file-name)))
|
||||
(unless (file-exists-p target-dir)
|
||||
(make-directory target-dir t))))
|
||||
|
||||
(add-to-list 'find-file-not-found-functions #'er-auto-create-missing-dirs)
|
||||
|
||||
;; set repos and bootstrap use-package
|
||||
;; (require 'package)
|
||||
|
||||
@@ -396,7 +405,7 @@
|
||||
(setq org-capture-templates
|
||||
'(("i" "Inbox" entry (file "gtd/inbox.org")
|
||||
"* TODO %?\n")
|
||||
("n" "Note" entry (file "~/org/inbox.org")
|
||||
("n" "Note" entry (file "gtd/inbox.org")
|
||||
"* %? :NOTE:\n")))
|
||||
|
||||
;; TODO
|
||||
@@ -447,7 +456,8 @@
|
||||
(use-package org-roam
|
||||
:after org
|
||||
:custom
|
||||
(org-roam-directory "~/org/roam")
|
||||
(org-roam-directory
|
||||
(expand-file-name "roam/" org-directory))
|
||||
:bind
|
||||
(("C-c n l" . org-roam-buffer-toggle)
|
||||
("C-c n f" . org-roam-node-find)
|
||||
|
@@ -1,12 +1,13 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../nixos/desktop.nix
|
||||
];
|
||||
|
@@ -1,11 +1,15 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||
@@ -13,14 +17,14 @@
|
||||
boot.kernelModules = ["kvm-intel"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/612f8704-c020-4188-85a7-27127e9b9ff2";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/612f8704-c020-4188-85a7-27127e9b9ff2";
|
||||
fsType = "btrfs";
|
||||
options = ["subvol=@"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2211-57BE";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/2211-57BE";
|
||||
fsType = "vfat";
|
||||
options = ["fmask=0077" "dmask=0077"];
|
||||
};
|
||||
|
Reference in New Issue
Block a user