From 802c2aa6bfa25c804adb9f677b11ecb71c0b298d Mon Sep 17 00:00:00 2001 From: biscuit Date: Wed, 21 May 2025 17:28:57 -0500 Subject: [PATCH] added MarkdownPreview --- README.md | 9 --- flake.lock.bak | 156 ---------------------------------------- pkgs/neovim/default.nix | 4 +- 3 files changed, 2 insertions(+), 167 deletions(-) delete mode 100644 flake.lock.bak diff --git a/README.md b/README.md index 9f677be..ea7ce2b 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,2 @@ # NixOS configuration -## Getting Started - -### System rebuild -1. (Optional) On ./system/users.nix, replace `biscuit` on `users.users.biscuit` with your own username. If you are creating a new user (by replacing `biscuit`), or ignoring the file, the default password is `very-insecure-password`. Make sure to replace it! -2. Replace `hardware-configuration.conf`(each located at `nixos` folder) with your own. You can generate a config via `nixos-generate-config --dir ./nixos/`. -3. While in this folder, rebuild your system using this command: `sudo nixos-rebuild switch --flake ./#${YOUR_CHOICE}`. For example, if you chose `biscuit` config, you type the following: `sudo nixos-rebuild switch --flake ./#biscuit`. - -### Home rebuild - diff --git a/flake.lock.bak b/flake.lock.bak deleted file mode 100644 index 0294f38..0000000 --- a/flake.lock.bak +++ /dev/null @@ -1,156 +0,0 @@ -{ - "nodes": { - "ags": { - "inputs": { - "astal": "astal", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1744557573, - "narHash": "sha256-XAyj0iDuI51BytJ1PwN53uLpzTDdznPDQFG4RwihlTQ=", - "owner": "aylur", - "repo": "ags", - "rev": "3ed9737bdbc8fc7a7c7ceef2165c9109f336bff6", - "type": "github" - }, - "original": { - "owner": "aylur", - "repo": "ags", - "type": "github" - } - }, - "astal": { - "inputs": { - "nixpkgs": [ - "ags", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1742571008, - "narHash": "sha256-5WgfJAeBpxiKbTR/gJvxrGYfqQRge5aUDcGKmU1YZ1Q=", - "owner": "aylur", - "repo": "astal", - "rev": "dc0e5d37abe9424c53dcbd2506a4886ffee6296e", - "type": "github" - }, - "original": { - "owner": "aylur", - "repo": "astal", - "type": "github" - } - }, - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "home-manager": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1747688838, - "narHash": "sha256-FZq4/3OtGV/cti9Vccsy2tGSUrxTO4hkDF9oeGRTen4=", - "owner": "nix-community", - "repo": "home-manager", - "rev": "45c2985644b60ab64de2a2d93a4d132ecb87cf66", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "home-manager", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1747542820, - "narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1747744144, - "narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "ags": "ags", - "home-manager": "home-manager", - "nixpkgs": "nixpkgs", - "unlisted-fonts": "unlisted-fonts" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, - "unlisted-fonts": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs_2" - }, - "locked": { - "path": "./custom/unlisted-fonts/", - "type": "path" - }, - "original": { - "path": "./custom/unlisted-fonts/", - "type": "path" - }, - "parent": [] - } - }, - "root": "root", - "version": 7 -} diff --git a/pkgs/neovim/default.nix b/pkgs/neovim/default.nix index 52e827e..8bb5468 100644 --- a/pkgs/neovim/default.nix +++ b/pkgs/neovim/default.nix @@ -3,8 +3,8 @@ domain = "git.sakamoto.dev"; owner = "kenji"; repo = "nvim"; - rev = "30449ae49cae92ec42356a49a3d2a3b4b7db0119"; - sha256 = "sha256-mEQ4PPVFl2tGog5GrQsnfy6V+1v4vVk9LKtlMCVCO3c="; + rev = "a03e484ca6ad91a655f80697a375c3d681cb74b6"; + sha256 = "sha256-G3aCvWnQEojj5Q+SJre+mfuuURCUazGF0Dl6x6dkLEU="; }; in { programs.neovim.enable = true;