Updated neovim
This commit is contained in:
parent
01149dfa62
commit
e53edb2f90
3 changed files with 32 additions and 28 deletions
|
|
@ -1,16 +1,19 @@
|
|||
# NixOS Config
|
||||
|
||||
Apply cloned config
|
||||
|
||||
```bash
|
||||
sudo nixos-rebuild switch --flake ~/nixos-config#kylekrein-homepc
|
||||
```
|
||||
|
||||
Rebuild system
|
||||
|
||||
```bash
|
||||
nh os switch
|
||||
```
|
||||
|
||||
Generate hardware report
|
||||
|
||||
```bash
|
||||
sudo nix run \
|
||||
--option experimental-features "nix-command flakes" \
|
||||
|
|
@ -20,12 +23,15 @@ sudo nix run \
|
|||
```
|
||||
|
||||
## Install system
|
||||
|
||||
Assuming that you're in nixos installer
|
||||
|
||||
```bash
|
||||
sudo nix --extra-experimental-features "flakes nix-command" run github:nix-community/disko -- --mode zap_create_mount --flake github:KyleKrein/nixos-config#kylekrein-homepc
|
||||
```
|
||||
|
||||
Copy sops age keys to `/persist/sops/age/keys.txt` or to `/var/lib/sops/age/keys.txt` if not using impermanence
|
||||
Copy sops age keys to `/persist/sops/age/keys.txt` or to
|
||||
`/var/lib/sops/age/keys.txt` if not using impermanence
|
||||
|
||||
```bash
|
||||
sudo mkdir /mnt/tmp && TMPDIR=/mnt/tmp sudo nixos-install --flake github:KyleKrein/nixos-config#kylekrein-homepc --no-root-passwd && sudo rm -rf /mnt/tmp
|
||||
|
|
|
|||
30
flake.lock
generated
30
flake.lock
generated
|
|
@ -126,11 +126,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736591904,
|
||||
"narHash": "sha256-LFO8pSrPKrH8OPq2HaAuBG5skk8/MNJ/9YmK3KsnSks=",
|
||||
"lastModified": 1736711425,
|
||||
"narHash": "sha256-8hKhPQuMtXfJi+4lPvw3FBk/zSJVHeb726Zo0uF1PP8=",
|
||||
"owner": "nix-community",
|
||||
"repo": "disko",
|
||||
"rev": "33827d2bd16bfe2e21b62956526c72d313595dfd",
|
||||
"rev": "f720e64ec37fa16ebba6354eadf310f81555cc07",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -500,11 +500,11 @@
|
|||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736613484,
|
||||
"narHash": "sha256-vWqI0RuLigqNV20sI15rj/LeBCMSJiFJ59br00D6POk=",
|
||||
"lastModified": 1736701836,
|
||||
"narHash": "sha256-K6bxd1ZbIQKcF1USNuupv+bsEk5GyidGS/zcTUTgWt8=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "2778aff08fba59a34b404751039d7acb6bfb3bdf",
|
||||
"rev": "a6b263713a2b862ed41362082e2147e081934077",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -707,11 +707,11 @@
|
|||
"nvf": "nvf"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736772619,
|
||||
"narHash": "sha256-ncUF4M5H+ZFQOGr+JLUgJk5zK01BA/wUkJKviuc8m+8=",
|
||||
"lastModified": 1736776631,
|
||||
"narHash": "sha256-y2k4C4WmaizGgraidvAWu/3iP9690wzIewPZeb2k05c=",
|
||||
"owner": "kylekrein",
|
||||
"repo": "neovim",
|
||||
"rev": "5f5aa73e85b041834813e2f563de4bc06c139948",
|
||||
"rev": "e0a464bdbd2556079107510d90c8aa43328d5a28",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -1010,11 +1010,11 @@
|
|||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1736523798,
|
||||
"narHash": "sha256-Xb8mke6UCYjge9kPR9o4P1nVrhk7QBbKv3xQ9cj7h2s=",
|
||||
"lastModified": 1736701207,
|
||||
"narHash": "sha256-jG/+MvjVY7SlTakzZ2fJ5dC3V1PrKKrUEOEE30jrOKA=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "130595eba61081acde9001f43de3248d8888ac4a",
|
||||
"rev": "ed4a395ea001367c1f13d34b1e01aa10290f67d6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -3331,11 +3331,11 @@
|
|||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1736530113,
|
||||
"narHash": "sha256-a+IUtGdzESNSQEZkW99TXf5js8o4Oy9M4H2am+2ECp4=",
|
||||
"lastModified": 1736706885,
|
||||
"narHash": "sha256-hR3+Hth+mF8OyLjqislaetsho5WJyKNP6xCojQ1D2BY=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "f1e003194cb528bbd4eda50b781d1f703611782d",
|
||||
"rev": "fb773084f74b2ddec103a2459847dabd2a65874c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -1,14 +1,12 @@
|
|||
{ username, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Aleksandr Lebedev";
|
||||
userEmail = "alex.lebedev2003@icloud.com";
|
||||
extraConfig = {
|
||||
credential.helper = "manager";#"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret";
|
||||
credential."https://github.com".username = "KyleKrein";
|
||||
credential.credentialStore = "plaintext";
|
||||
};
|
||||
{username, ...}: {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Aleksandr Lebedev";
|
||||
userEmail = "alex.lebedev2003@icloud.com";
|
||||
extraConfig = {
|
||||
credential.helper = "manager"; #"${pkgs.git.override { withLibsecret = true; }}/bin/git-credential-libsecret";
|
||||
credential."https://github.com".username = "KyleKrein";
|
||||
credential.credentialStore = "plaintext";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue