Compare commits

..

No commits in common. "7a2d1a7e4e531368a1846cf0224fef22ab422236" and "fac15cd4c5c56883bb1d8e2a9ca434bf18e9e532" have entirely different histories.

3 changed files with 52 additions and 62 deletions

View file

@ -56,11 +56,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736143030, "lastModified": 1735774679,
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=", "narHash": "sha256-soePLBazJk0qQdDVhdbM98vYdssfs3WFedcq+raipRI=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de", "rev": "f2f7418ce0ab4a5309a4596161d154cfc877af66",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -134,11 +134,11 @@
"zig": "zig" "zig": "zig"
}, },
"locked": { "locked": {
"lastModified": 1736210320, "lastModified": 1736113571,
"narHash": "sha256-QnDkQ/s1OWmPj1f+7MFNxQiAPJdHbI1Aft7yM5I+8gQ=", "narHash": "sha256-5viqX++mUONRNCHf393l26iZIvi2DlFLJR87Xrsod3s=",
"owner": "ghostty-org", "owner": "ghostty-org",
"repo": "ghostty", "repo": "ghostty",
"rev": "a3837a1e4ee06a183f32d4a622c2cdcd51f73fb8", "rev": "c9c5ad43a54e815e664569f5e5809a71369b99a2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -221,11 +221,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736204492, "lastModified": 1736066484,
"narHash": "sha256-CoBPRgkUex9Iz6qGSzi/BFVUQjndB0PmME2B6eEyeCs=", "narHash": "sha256-uTstP36WaFrw+TEHb8nLF14hFPzQBOhmIxzioHCDaL8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "20665c6efa83d71020c8730f26706258ba5c6b2a", "rev": "5ad12b6ea06b84e48f6b677957c74f32d47bdee0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -266,11 +266,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1736233375, "lastModified": 1736035694,
"narHash": "sha256-I6fqKdaoKOVU33SyPv+MuxWRiOs+PXQTO94aCLA3rAc=", "narHash": "sha256-hsJH+qsn3hdE2Axo+MGQv2oVPzAXoBTdVJEhmUIprzo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "neovim-nightly-overlay", "repo": "neovim-nightly-overlay",
"rev": "721f5f602b876a3ee21be04f68ab3cedf162e7f6", "rev": "75151f049969a87404442dbcf16e885875e29e72",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -282,11 +282,11 @@
"neovim-src": { "neovim-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1736193797, "lastModified": 1736023725,
"narHash": "sha256-5S4RnwKfa5nn/r+8OsMtfgD6TEA5P6cWKti76A0zIMc=", "narHash": "sha256-ARpgwbA6wEHBFv4x6Cpv/sXHFkeBiZoYN0iBiI3fKQw=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "b6ab294838421afb6932c52dd6e6d35d571e621d", "rev": "a8ace2c58a318552869462a36859aabf1cdfaa68",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -381,11 +381,11 @@
}, },
"nixpkgs-unstable_2": { "nixpkgs-unstable_2": {
"locked": { "locked": {
"lastModified": 1736134818, "lastModified": 1735915915,
"narHash": "sha256-30sOEZ8CFK2nTTMdkhaNrfVlIi3rWTNV0Z5z+NmpFNI=", "narHash": "sha256-Q4HuFAvoKAIiTRZTUxJ0ZXeTC7lLfC9/dggGHNXNlCw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "3df3c47c19dc90fec35359e89ffb52b34d2b0e94", "rev": "a27871180d30ebee8aa6b11bf7fef8a52f024733",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -397,11 +397,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1736042175, "lastModified": 1735915915,
"narHash": "sha256-jdd5UWtLVrNEW8K6u5sy5upNAFmF3S4Y+OIeToqJ1X8=", "narHash": "sha256-Q4HuFAvoKAIiTRZTUxJ0ZXeTC7lLfC9/dggGHNXNlCw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "bf689c40d035239a489de5997a4da5352434632e", "rev": "a27871180d30ebee8aa6b11bf7fef8a52f024733",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -413,11 +413,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1736012469, "lastModified": 1735834308,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=", "narHash": "sha256-dklw3AXr3OGO4/XT1Tu3Xz9n/we8GctZZ75ZWVqAVhk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d", "rev": "6df24922a1400241dae323af55f30e4318a6ca65",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -498,11 +498,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736154270, "lastModified": 1735905407,
"narHash": "sha256-p2r8xhQZ3TYIEKBoiEhllKWQqWNJNoT9v64Vmg4q8Zw=", "narHash": "sha256-1hKMRIT+QZNWX46e4gIovoQ7H8QRb7803ZH4qSKI45o=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "13c913f5deb3a5c08bb810efd89dc8cb24dd968b", "rev": "29806abab803e498df96d82dd6f34b32eb8dd2c8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -164,10 +164,10 @@ in
"prefix" = bold; "prefix" = bold;
"rest" = "bright black"; "rest" = "bright black";
"divergent prefix" = underline; "divergent prefix" = underline;
"bookmark" = "bright magenta"; "bookmark" = "magenta";
"bookmarks" = "bright magenta"; "bookmarks" = "magenta";
"change_id" = "bright magenta"; "change_id" = "magenta";
"local_bookmarks" = "bright magenta"; "local_bookmarks" = "magenta";
"diff file_header" = bold; "diff file_header" = bold;
"diff hunk_header" = "cyan"; "diff hunk_header" = "cyan";
@ -176,14 +176,13 @@ in
"diff added" = "green"; "diff added" = "green";
"diff added token" = "green"; "diff added token" = "green";
"diff modified" = "cyan"; "diff modified" = "cyan";
"diff untracked" = "blue"; "diff untracked" = "magenta";
"diff renamed" = "cyan"; "diff renamed" = "cyan";
"diff copied" = "green"; "diff copied" = "green";
"diff access-denied" = { "diff access-denied" = {
bg = "red"; bg = "red";
}; };
"empty" = "green";
"elided" = "blue"; "elided" = "blue";
"node elided" = dim; "node elided" = dim;
"node working_copy" = { "node working_copy" = {
@ -198,16 +197,12 @@ in
}; };
"operation id" = "blue"; "operation id" = "blue";
"operation current_operation" = bold; "operation current_operation" = bold;
"remote_bookmarks" = "bright magenta"; "remote_bookmarks" = "magenta";
"working_copy" = { "working_copy" = {
fg = "green"; fg = "green";
bold = true; bold = true;
}; };
"working_copy empty" = { "working_copy change_id" = "magenta";
fg = "green";
bold = true;
};
"working_copy change_id" = "bright magenta";
"working_copy description placeholder" = "green"; "working_copy description placeholder" = "green";
"working_copy empty description placeholder" = "green"; "working_copy empty description placeholder" = "green";
"working_copy bookmark" = "bright magenta"; "working_copy bookmark" = "bright magenta";
@ -234,6 +229,7 @@ in
"divergent" "divergent"
"divergent change_id" "divergent change_id"
"divergent rest" "divergent rest"
"empty"
"empty description placeholder" "empty description placeholder"
"error_source" "error_source"
"git_head" "git_head"
@ -262,6 +258,7 @@ in
"working_copy conflict" "working_copy conflict"
"working_copy divergent" "working_copy divergent"
"working_copy divergent change_id" "working_copy divergent change_id"
"working_copy empty"
"working_copy git_refs" "working_copy git_refs"
"working_copy local_branches" "working_copy local_branches"
"working_copy placeholder" "working_copy placeholder"

View file

@ -124,20 +124,21 @@
}; };
# FIXME: pam_rssh is broken from rust 1.80 upgrade # FIXME: pam_rssh is broken from rust 1.80 upgrade
security = { # environment.systemPackages = [ pkgs.pam_rssh ];
pam.services.doas = # security = {
{ config, ... }: # pam.services.doas =
{ # { config, ... }:
rules.auth.rssh = { # {
order = config.rules.auth.ssh_agent_auth.order - 1; # rules.auth.rssh = {
control = "sufficient"; # order = config.rules.auth.ssh_agent_auth.order - 1;
modulePath = "${pkgs.pam_rssh}/lib/libpam_rssh.so"; # control = "sufficient";
settings.authorized_keys_command = pkgs.writeShellScript "get-authorized-keys" '' # modulePath = "${pkgs.pam_rssh}/lib/libpam_rssh.so";
cat "/etc/ssh/authorized_keys.d/$1" # settings.authorized_keys_command = pkgs.writeShellScript "get-authorized-keys" ''
''; # cat "/etc/ssh/authorized_keys.d/$1"
}; # '';
}; # };
}; # };
# };
services.resolved = { services.resolved = {
enable = true; enable = true;
@ -174,7 +175,7 @@
ffado ffado
libcamera libcamera
lm_sensors lm_sensors
pam_rssh # pkgs.pam_rssh
openconnect openconnect
v4l-utils v4l-utils
]; ];
@ -212,14 +213,6 @@
}; };
users.groups.nixremote = { }; users.groups.nixremote = { };
nix.sshServe.enable = true;
nix.sshServe.keys = [
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIIHMAEZx02kbHrEygyPQYStiXlrIe6EIqBCv7anIkL0pAAAABHNzaDo= dln@dinky"
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIJNOBFoU7Cdsgi4KpYRcv7EhR/8kD4DYjEZnwk6urRx7AAAABHNzaDo= dln@nemo"
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBJ10mLOpInoqDaySyrxbzvcOrJfLw48Y6eWHa9501lw+hEEBXya3ib7nlvpCqEQJ8aPU5fVRqpkOW5zSimCiRbwAAAAEc3NoOg=="
"sk-ecdsa-sha2-nistp256@openssh.com AAAAInNrLWVjZHNhLXNoYTItbmlzdHAyNTZAb3BlbnNzaC5jb20AAAAIbmlzdHAyNTYAAABBBLpoKvsZDIQQLfgzJhe1jAQubBNxjydkj8UfdUPaSXqgfB02OypMOC1m5ZuJYcQIxox0I+4Z8xstFhYP6s8zKZwAAAAEc3NoOg=="
];
nix.settings.trusted-users = [ nix.settings.trusted-users = [
"dln" "dln"
"lsjostro" "lsjostro"