Skip to content

Commit

Permalink
Update system + kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
dmadisetti committed Mar 20, 2024
1 parent cfd18b2 commit 2235b40
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 18 deletions.
2 changes: 1 addition & 1 deletion dot/config/fish/functions/update.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function update
pushd $DOTFILES
set -l jq (+ jq -- which jq)
set -l new (curl -s "https://monitoring.nixos.org/prometheus/api/v1/query?query=channel_revision" | $jq -r ".data.result[] | select(.metric.channel==\"nixos-unstable\") | .metric.revision")
set -l new (curl -sL "https://monitoring.nixos.org/prometheus/api/v1/query?query=channel_revision" | $jq -r ".data.result[] | select(.metric.channel==\"nixos-unstable\") | .metric.revision")
set -l old ($jq -r ".nodes.nixpkgs.locked.rev" flake.lock)
sed -i s/$old/$new/ flake.nix
echo "$old vs $new"
Expand Down
54 changes: 44 additions & 10 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# This ensures that we always use the official nix cache.
# nixpkgs.url = "/home/user/src/nixpkgs-local?cache-bust=4";
# TODO: Change to patch system NixOs/nix/issues#3920
nixpkgs.url = github:nixos/nixpkgs/73de017ef2d18a04ac4bfd0c02650007ccb31c2a;
nixpkgs.url = github:nixos/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3;
nixos-hardware.url = github:NixOS/nixos-hardware;

# Really just to streamline deps.
Expand Down
2 changes: 1 addition & 1 deletion nix/home/display/hyprland.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
(inputs.hyprland.packages."x86_64-linux".hyprland.override {
# enableNvidiaPatches = true;
})
eww-wayland
eww
wl-clipboard
rofi
grim
Expand Down
2 changes: 0 additions & 2 deletions nix/home/programs/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
{ home, pkgs, ... }: {
imports = [ ];

home.packages = with pkgs; [ python38Packages.pynvim ];

programs.neovim = {
enable = true;
viAlias = true;
Expand Down
2 changes: 1 addition & 1 deletion nix/machines/common/home-assistant.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ in

rokuecp

govee-api-laggat
# govee-api-laggat
pyvizio
aiohomekit
python_otbr_api
Expand Down
2 changes: 1 addition & 1 deletion nix/machines/lambda.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
# nvidia
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.package =
pkgs.linuxKernel.packages.linux_6_1.nvidia_x11;
pkgs.linuxKernel.packages.linux_6_6.nvidia_x11;
hardware.nvidia.modesetting.enable = true;
# hardware.nvidia.prime.offload.enable = true;
environment.systemPackages = with pkgs; [ nvidia-docker ];
Expand Down
2 changes: 1 addition & 1 deletion nix/overlays.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
events
aiohttp
certifi
pygatt
# pygatt
pexpect
];
postPatch = ''
Expand Down

0 comments on commit 2235b40

Please sign in to comment.