installed proxmark tools

This commit is contained in:
Leyla Becker 2024-10-26 13:16:14 -05:00
parent 77e3d687d4
commit f132f44b96
6 changed files with 22 additions and 4 deletions

View file

@ -31,6 +31,7 @@
- Look into this for headscale https://carlosvaz.com/posts/setting-up-headscale-on-nixos/ - Look into this for headscale https://carlosvaz.com/posts/setting-up-headscale-on-nixos/
- Look into this for home assistant configuration https://nixos.wiki/wiki/Home_Assistant https://myme.no/posts/2021-11-25-nixos-home-assistant.html - Look into this for home assistant configuration https://nixos.wiki/wiki/Home_Assistant https://myme.no/posts/2021-11-25-nixos-home-assistant.html
- This person seams to know what they are doing with home manager https://github.com/arvigeus/nixos-config/ - This person seams to know what they are doing with home manager https://github.com/arvigeus/nixos-config/
- https://nixos-and-flakes.thiscute.world/
## Configuration ## Configuration
set up git configuration for local development: `git config core.hooksPath .hooks` set up git configuration for local development: `git config core.hooksPath .hooks`

View file

@ -47,7 +47,6 @@
}; };
outputs = { outputs = {
self,
nixpkgs, nixpkgs,
disko, disko,
nixos-hardware, nixos-hardware,
@ -60,22 +59,28 @@
home-manager.backupFileExtension = "backup"; home-manager.backupFileExtension = "backup";
home-manager.extraSpecialArgs = {inherit inputs;}; home-manager.extraSpecialArgs = {inherit inputs;};
}; };
forEachSystem = nixpkgs.lib.genAttrs [ systems = [
"aarch64-darwin" "aarch64-darwin"
"aarch64-linux" "aarch64-linux"
"x86_64-darwin" "x86_64-darwin"
"x86_64-linux" "x86_64-linux"
]; ];
forEachSystem = nixpkgs.lib.genAttrs systems;
forEachPkgs = lambda: forEachSystem (system: lambda nixpkgs.legacyPackages.${system}); forEachPkgs = lambda: forEachSystem (system: lambda nixpkgs.legacyPackages.${system});
callPackage = nixpkgs.lib.callPackageWith (nixpkgs // {lib = lib;}); callPackage = nixpkgs.lib.callPackageWith (nixpkgs // {lib = lib;});
lib = callPackage ./util {} // nixpkgs.lib; lib = callPackage ./util {} // nixpkgs.lib;
in { in {
packages = forEachPkgs (import ./pkgs);
formatter = forEachPkgs (system: system.alejandra);
nixosConfigurations = { nixosConfigurations = {
# Leyla Laptop # Leyla Laptop
horizon = nixpkgs.lib.nixosSystem { horizon = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs lib;}; specialArgs = {inherit inputs lib;};
modules = [ modules = [
./overlays
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
home-manager-config home-manager-config
./hosts/horizon/configuration.nix ./hosts/horizon/configuration.nix
@ -86,6 +91,7 @@
twilight = nixpkgs.lib.nixosSystem { twilight = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs lib;}; specialArgs = {inherit inputs lib;};
modules = [ modules = [
./overlays
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
home-manager-config home-manager-config
./hosts/twilight/configuration.nix ./hosts/twilight/configuration.nix
@ -95,6 +101,7 @@
defiant = nixpkgs.lib.nixosSystem { defiant = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs lib;}; specialArgs = {inherit inputs lib;};
modules = [ modules = [
./overlays
disko.nixosModules.disko disko.nixosModules.disko
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
home-manager-config home-manager-config

7
overlays/default.nix Normal file
View file

@ -0,0 +1,7 @@
{...}: {
nixpkgs.overlays = [
(
self: super: import ../pkgs {pkgs = super;}
)
];
}

View file

@ -1,2 +1,3 @@
_: { {...}: {
# package = pkgs.callPackage ./package.nix {};
} }

View file

@ -27,7 +27,7 @@ in {
then { then {
isNormalUser = true; isNormalUser = true;
extraGroups = ( extraGroups = (
["networkmanager" "wheel"] ["networkmanager" "wheel" "dialout"]
++ lib.lists.optional (!cfg.isTerminalUser) "adbusers" ++ lib.lists.optional (!cfg.isTerminalUser) "adbusers"
); );

View file

@ -61,6 +61,8 @@ in {
dbeaver-bin dbeaver-bin
bruno bruno
qFlipper qFlipper
proxmark3
mfoc
# system tools # system tools
protonvpn-gui protonvpn-gui