Compare commits

..

2 commits

2 changed files with 18 additions and 3 deletions

View file

@ -24,7 +24,12 @@
}; };
homeManager.base = homeManager.base =
{ lib, pkgs, ... }: {
lib,
osConfig,
pkgs,
...
}:
{ {
catppuccin.fish.enable = true; catppuccin.fish.enable = true;
@ -50,8 +55,8 @@
}; };
functions = { functions = {
checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)"; checkHash = "nix hash to-sri --type sha256 $(nix-prefetch-url --unpack $argv)";
deployNixberry = "nixos-rebuild switch --flake .#nixberry --target-host nixberry --sudo --ask-sudo-password"; deployNixberry = "${lib.getExe osConfig.programs.nh.package} os switch --target-host nixberry -H nixberry";
deployLoptland = "nixos-rebuild switch --flake .#loptland --target-host christophhollizeck.dev --sudo --ask-sudo-password"; deployLoptland = "${lib.getExe osConfig.programs.nh.package} os switch --target-host christophhollizeck.dev -H loptland";
checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"''; checkPR = ''cd /home/cholli/projects/NixOS/nixpkgs && ${lib.getExe pkgs.nixpkgs-review} pr $argv --post-result --systems "x86_64-linux aarch64-linux"'';
}; };
plugins = with pkgs.fishPlugins; [ plugins = with pkgs.fishPlugins; [

View file

@ -173,6 +173,16 @@ in
uid = "019aac26-684c-7c2c-a43d-2253f4407d45"; uid = "019aac26-684c-7c2c-a43d-2253f4407d45";
use_global_settings = true; use_global_settings = true;
} }
{
name = "work-laptop";
ids = [ "192.168.178.48" ];
tags = [
"device_pc"
"os_windows"
];
uid = "019aac55-ae29-7c5e-aac0-baadd7157f92";
use_global_settings = true;
}
]; ];
}; };