Compare commits

..

5 Commits

Author SHA1 Message Date
44e53e22f2 update 2025-06-07 21:13:02 -07:00
868aa00d7d fix emacs 2025-06-05 21:27:52 -07:00
c008c1234a improve deploy script 2025-06-05 21:27:41 -07:00
e7271c6134 beginning of emacs 2025-06-05 19:22:39 -07:00
f83ef0d7d9 make deploy script better 2025-06-05 19:15:05 -07:00
5 changed files with 93 additions and 40 deletions

View File

@@ -1,3 +1,8 @@
#!/bin/sh
nixos-rebuild boot --flake . --use-remote-sudo
ARG="$*"
if [ "$ARG" = "" ]; then
ARG="boot"
fi
nixos-rebuild "$ARG" --flake . --use-remote-sudo

96
flake.lock generated
View File

@@ -38,11 +38,11 @@
]
},
"locked": {
"lastModified": 1749037647,
"narHash": "sha256-eCYFdO4sr+SXfHHFzDqcjpQTcWudsMmq0Lg5iBKA2Ec=",
"lastModified": 1749319758,
"narHash": "sha256-vjB3/Sk1+gH7E4fjmYLo5+KZFvFeR2X/13mZwvwp2ds=",
"owner": "chaotic-cx",
"repo": "nyx",
"rev": "dcc72d01c5a8a4ea2768b13b2f57794ced9d2525",
"rev": "11addac79e748c4517b6508c09038d82e2df04a5",
"type": "github"
},
"original": {
@@ -110,6 +110,29 @@
"type": "github"
}
},
"emacs-overlay": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-stable": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1749350261,
"narHash": "sha256-0klpZdOcXEDgTD1y4ipXLOrGfiBGEeKbjrKh0h1KmXc=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "d084c3caceadedc53585bc24897fd2360bd85405",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "emacs-overlay",
"type": "github"
}
},
"fenix": {
"inputs": {
"nixpkgs": [
@@ -119,11 +142,11 @@
"rust-analyzer-src": "rust-analyzer-src"
},
"locked": {
"lastModified": 1748932954,
"narHash": "sha256-1HiKieYFvFi5Hw3x2/mptbbvAuL0QwlZQC9UIGNNb1w=",
"lastModified": 1749278330,
"narHash": "sha256-8NKf1rHaKg+7MRoj7hhPlS048upmpwSXsUx2+6phePI=",
"owner": "nix-community",
"repo": "fenix",
"rev": "2da33335e40ca932b4c5ea632816eed573736fba",
"rev": "68e191fa1f76ab42d3eb7195844eab261e412e2e",
"type": "github"
},
"original": {
@@ -212,11 +235,11 @@
]
},
"locked": {
"lastModified": 1749062139,
"narHash": "sha256-gGGLujmeWU+ZjFzfMvFMI0hp9xONsSbm88187wJr82Q=",
"lastModified": 1749243446,
"narHash": "sha256-P1gumhZN5N9q+39ndePHYrtwOwY1cGx+VoXGl+vTm7A=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "86b95fc1ed2b9b04a451a08ccf13d78fb421859c",
"rev": "2d7d65f65b61fdfce23278e59ca266ddd0ef0a36",
"type": "github"
},
"original": {
@@ -234,11 +257,11 @@
]
},
"locked": {
"lastModified": 1748977211,
"narHash": "sha256-VtL9IxQKMsGMD0jDoMMVeZLTxrPFt36MW43nkeXf1RM=",
"lastModified": 1749312278,
"narHash": "sha256-iafbTiQGNlylMR/ivKRlDudHiu5891rVmRj/WjFcRKE=",
"owner": "Jovian-Experiments",
"repo": "Jovian-NixOS",
"rev": "4989543da0defdedce08b14945ec5d2f6e22abb8",
"rev": "8b0b76f13c875f1f31632fd5fbaee8a093421455",
"type": "github"
},
"original": {
@@ -288,11 +311,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1749055061,
"narHash": "sha256-4v/hKWTe35MZKgd/VusNlQjja9rIYDbp5rjfmeIT29c=",
"lastModified": 1749330287,
"narHash": "sha256-5ThmjfgLhJRohYijQdl4kPVNdpxX7Ap5WE265Z6ESYI=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "e051966486be79c5843af95defd70813ae5c97a6",
"rev": "a9cb688b4b4ec9b1e22f02eaabcaa41eb27eedbf",
"type": "github"
},
"original": {
@@ -321,11 +344,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1749019222,
"narHash": "sha256-Zz2QkGVkK75iAaOBTT5+ILCg/l2HhrxzPJMd7Jr/O28=",
"lastModified": 1749327170,
"narHash": "sha256-mBrxeWd7L8oAIh6G2PgKuZAzqyZMyjBpHEAcSSTbhJg=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "9858599ac12ab9592c08e062b2301e7c24429c81",
"rev": "f918eabe6a144e78c62c3fc0cfa7fe32e4623e5a",
"type": "github"
},
"original": {
@@ -359,11 +382,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1749056381,
"narHash": "sha256-QITcurR19KZlrCngBoCjsFF2BdYsiCG4UqmlrVcLb8Q=",
"lastModified": 1749195551,
"narHash": "sha256-W5GKQHgunda/OP9sbKENBZhMBDNu2QahoIPwnsF6CeM=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "029bd66faa180e11262dd1bc2732254c33415f52",
"rev": "4602f7e1d3f197b3cb540d5accf5669121629628",
"type": "github"
},
"original": {
@@ -375,11 +398,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1748929857,
"narHash": "sha256-lcZQ8RhsmhsK8u7LIFsJhsLh/pzR9yZ8yqpTzyGdj+Q=",
"lastModified": 1749143949,
"narHash": "sha256-QuUtALJpVrPnPeozlUG/y+oIMSLdptHxb3GK6cpSVhA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c2a03962b8e24e669fb37b7df10e7c79531ff1a4",
"rev": "d3d2d80a2191a73d1e86456a751b83aa13085d7d",
"type": "github"
},
"original": {
@@ -420,6 +443,7 @@
"agenix": "agenix",
"chaotic": "chaotic",
"disko": "disko",
"emacs-overlay": "emacs-overlay",
"home-manager": "home-manager",
"lanzaboote": "lanzaboote",
"niri": "niri",
@@ -432,11 +456,11 @@
"rust-analyzer-src": {
"flake": false,
"locked": {
"lastModified": 1748871544,
"narHash": "sha256-7V/sV6JiEp8LFmGIG3OqFDU2YNHgmodg1qNKGYXZKIY=",
"lastModified": 1749194353,
"narHash": "sha256-i6nNh8It11J9afo8QAR1Vwk4qKz/byIc5yq0rU3SW7M=",
"owner": "rust-lang",
"repo": "rust-analyzer",
"rev": "25808c1ba14627876c9a031a67f404ac1927887d",
"rev": "6acff6c1f8306a0a1d29be8fd1ffa63cff1ad598",
"type": "github"
},
"original": {
@@ -453,11 +477,11 @@
]
},
"locked": {
"lastModified": 1749091064,
"narHash": "sha256-TGtYjzRX0sueFhwYsnNNFF5TTKnpnloznpIghLzxeXo=",
"lastModified": 1749350575,
"narHash": "sha256-ltLegOYrp69v/7BXlNfSwUPrt2DvF7N668pV4a6rWRA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "12419593ce78f2e8e1e89a373c6515885e218acb",
"rev": "24d5806474b0779d373f381f00d75ad51fd45099",
"type": "github"
},
"original": {
@@ -501,11 +525,11 @@
"xwayland-satellite-unstable": {
"flake": false,
"locked": {
"lastModified": 1748488455,
"narHash": "sha256-IiLr1alzKFIy5tGGpDlabQbe6LV1c9ABvkH6T5WmyRI=",
"lastModified": 1749315541,
"narHash": "sha256-bEik1BfVOFnWvtOrcOHluos/edJ8f+G2y1QySbt/0Ak=",
"owner": "Supreeeme",
"repo": "xwayland-satellite",
"rev": "3ba30b149f9eb2bbf42cf4758d2158ca8cceef73",
"rev": "da2ecb5be816de35e2efe23a408a1c49fe8b11ba",
"type": "github"
},
"original": {
@@ -524,11 +548,11 @@
]
},
"locked": {
"lastModified": 1749093358,
"narHash": "sha256-Clx1BzHsSSzIXbnCW9KM3m5gW3SFgemcW9/4XH4epeM=",
"lastModified": 1749352110,
"narHash": "sha256-bO0PBvDRANi/sUU4CF1IUsQoj/X/CHHwxrwQiTnqdX4=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "d4cf0ac2e860be17036a376ae99b233a115826bc",
"rev": "439ac110a99980bc858c9145e7d69d98e270db81",
"type": "github"
},
"original": {

View File

@@ -50,6 +50,12 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs";
};
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
inputs.nixpkgs-stable.follows = "nixpkgs";
};
};
outputs =

View File

@@ -44,6 +44,18 @@ let
typescript-language-server # typescript lsp
cmake-language-server # cmake lsp
];
# Praise be to the church of emacs
emacs_stuff = with pkgs; [
emacs-unstable-pgtk
# shell check things
shellcheck
# for search
fd
];
in
{
imports = [
@@ -55,13 +67,13 @@ in
{
nixpkgs.overlays = [
inputs.rust-overlay.overlays.default
inputs.emacs-overlay.overlays.default
];
}
)
];
home.stateVersion = "24.11";
home.enableNixpkgsReleaseCheck = false;
home.stateVersion = "25.11";
home.packages =
with pkgs;
@@ -97,6 +109,10 @@ in
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
lurk # better strace
# alternative to `find`
fd
# adds `sensors` command
lm_sensors
@@ -188,7 +204,8 @@ in
jasmin
]
++ rust_pkgs
++ lsps;
++ lsps
++ emacs_stuff;
# https://github.com/flamegraph-rs/flamegraph
home.file.".cargo/config.toml".text = ''

View File

@@ -49,6 +49,7 @@ in
shellInit = ''
fish_add_path ~/.local/bin
fish_add_path ~/.cargo/bin
fish_add_path ~/.config/emacs/bin
set hydro_color_pwd 62A
set hydro_color_error red
set hydro_color_duration yellow