Fix some warnings

This commit is contained in:
Sridhar Ratnakumar 2025-11-29 14:53:18 -05:00
parent 9de6a1977f
commit 39fdc1f887
8 changed files with 10 additions and 13 deletions

6
flake.lock generated
View file

@ -1148,11 +1148,11 @@
}, },
"nixos-unified_3": { "nixos-unified_3": {
"locked": { "locked": {
"lastModified": 1759258942, "lastModified": 1764076447,
"narHash": "sha256-2DAU2nkJTw54BCSOSinX1C43IWPyTKCkXOyq1wQ+9Ko=", "narHash": "sha256-dpkdOPPCWaFtDoxVAtVaprtPX6jGl8o30EBc1gWBOnQ=",
"owner": "srid", "owner": "srid",
"repo": "nixos-unified", "repo": "nixos-unified",
"rev": "aa19b27d29e74a510774ba3f7f6f633bcb053416", "rev": "90171c6936a8332ede17e09e337a0e71f4e659b1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -8,10 +8,7 @@
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
# Principle inputs # Principle inputs
# RETARDED POLITICAL UPSTREAM BREAKS CACHE OFTEN
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nix-darwin.url = "github:LnL7/nix-darwin"; nix-darwin.url = "github:LnL7/nix-darwin";
nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; nix-darwin.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";

View file

@ -19,7 +19,7 @@ in
# Use sandboxed version on Linux, plain version on macOS # Use sandboxed version on Linux, plain version on macOS
package = package =
if pkgs.stdenv.isLinux if pkgs.stdenv.isLinux
then flake.inputs.self.packages.${pkgs.system}.claude # see claude-sandboxed.nix then flake.inputs.self.packages.${pkgs.stdenv.hostPlatform.system}.claude # see claude-sandboxed.nix
else pkgs.claude-code; else pkgs.claude-code;
# Set the claude-code directory for auto-wiring # Set the claude-code directory for auto-wiring

View file

@ -12,7 +12,7 @@
enableBashIntegration = false; enableBashIntegration = false;
settings = { settings = {
theme = if pkgs.system == "aarch64-darwin" then "dracula" else "gruvbox-light"; theme = if pkgs.stdenv.hostPlatform.system == "aarch64-darwin" then "dracula" else "gruvbox-light";
# NOTE: There's no way to set theme by name. # NOTE: There's no way to set theme by name.
# See https://github.com/nix-community/home-manager/issues/3854 # See https://github.com/nix-community/home-manager/issues/3854
# But we can manually convert this syntax using LLM, # But we can manually convert this syntax using LLM,

View file

@ -14,12 +14,12 @@ in
enable = false; enable = false;
notes = [ myVault ]; notes = [ myVault ];
port = 7001; port = 7001;
package = inputs.emanote.packages.${pkgs.system}.default; package = inputs.emanote.packages.${pkgs.stdenv.hostPlatform.system}.default;
}; };
services.imako = { services.imako = {
enable = true; enable = true;
package = inputs.imako.packages.${pkgs.system}.default; package = inputs.imako.packages.${pkgs.stdenv.hostPlatform.system}.default;
vaultDir = myVault; vaultDir = myVault;
port = 7002; port = 7002;
host = "0.0.0.0"; host = "0.0.0.0";

View file

@ -21,7 +21,7 @@ in
# https = false; # Using tailscale services # https = false; # Using tailscale services
autoResetState = true; autoResetState = true;
autoBuildNewBranches = true; autoBuildNewBranches = true;
package = inputs.vira.packages.${pkgs.system}.default; package = inputs.vira.packages.${pkgs.stdenv.hostPlatform.system}.default;
initialState = { initialState = {
repositories = { repositories = {

View file

@ -2,7 +2,7 @@
{ flake, pkgs, lib, ... }: { flake, pkgs, lib, ... }:
let let
webapps = import ./. { inherit flake; system = pkgs.system; }; webapps = import ./. { inherit flake; system = pkgs.stdenv.hostPlatform.system; };
in in
{ {
# Run each web app as a systemd service decided inside a container. # Run each web app as a systemd service decided inside a container.

View file

@ -3,7 +3,7 @@
let let
host = "pureintent"; # See host.nix host = "pureintent"; # See host.nix
webapps = import ./. { inherit flake; system = pkgs.system; }; webapps = import ./. { inherit flake; system = pkgs.stdenv.hostPlatform.system; };
in in
{ {
services.tailscale.enable = true; services.tailscale.enable = true;