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)
|
(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
|
;; set repos and bootstrap use-package
|
||||||
;; (require 'package)
|
;; (require 'package)
|
||||||
|
|
||||||
@@ -396,7 +405,7 @@
|
|||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("i" "Inbox" entry (file "gtd/inbox.org")
|
'(("i" "Inbox" entry (file "gtd/inbox.org")
|
||||||
"* TODO %?\n")
|
"* TODO %?\n")
|
||||||
("n" "Note" entry (file "~/org/inbox.org")
|
("n" "Note" entry (file "gtd/inbox.org")
|
||||||
"* %? :NOTE:\n")))
|
"* %? :NOTE:\n")))
|
||||||
|
|
||||||
;; TODO
|
;; TODO
|
||||||
@@ -447,7 +456,8 @@
|
|||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:after org
|
:after org
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory "~/org/roam")
|
(org-roam-directory
|
||||||
|
(expand-file-name "roam/" org-directory))
|
||||||
:bind
|
:bind
|
||||||
(("C-c n l" . org-roam-buffer-toggle)
|
(("C-c n l" . org-roam-buffer-toggle)
|
||||||
("C-c n f" . org-roam-node-find)
|
("C-c n f" . org-roam-node-find)
|
||||||
|
@@ -1,15 +1,16 @@
|
|||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ # Include the results of the hardware scan.
|
pkgs,
|
||||||
./hardware-configuration.nix
|
...
|
||||||
../../nixos/desktop.nix
|
}: {
|
||||||
];
|
imports = [
|
||||||
|
# Include the results of the hardware scan.
|
||||||
|
./hardware-configuration.nix
|
||||||
|
../../nixos/desktop.nix
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "kuromi";
|
networking.hostName = "kuromi";
|
||||||
|
|
||||||
|
@@ -1,31 +1,35 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
];
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = ["kvm-intel"];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/612f8704-c020-4188-85a7-27127e9b9ff2";
|
device = "/dev/disk/by-uuid/612f8704-c020-4188-85a7-27127e9b9ff2";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@" ];
|
options = ["subvol=@"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" = {
|
||||||
{ device = "/dev/disk/by-uuid/2211-57BE";
|
device = "/dev/disk/by-uuid/2211-57BE";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = ["fmask=0077" "dmask=0077"];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
Reference in New Issue
Block a user