add devshell

This commit is contained in:
Joakim Repomaa
2025-02-07 13:42:10 +02:00
committed by Joakim Repomaa
parent 6aa0640684
commit 0e83d6538c
3 changed files with 8 additions and 0 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake .

1
.gitignore vendored
View File

@@ -1 +1,2 @@
/result /result
/.direnv

View File

@@ -50,8 +50,14 @@
ssh.publicKeys.yubikey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLIUkESu5NnBi1M0+ZjYrkp6/rIFuwc3aguspf98jmOydNce6l65cnS3GRzc9oWx4lu11ahi87ZuE+pYV+gaHm4="; ssh.publicKeys.yubikey = "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLIUkESu5NnBi1M0+ZjYrkp6/rIFuwc3aguspf98jmOydNce6l65cnS3GRzc9oWx4lu11ahi87ZuE+pYV+gaHm4=";
specialArgs = { inherit inputs bin ssh; }; specialArgs = { inherit inputs bin ssh; };
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in in
{ {
devShells.${system}.default = pkgs.mkShell {
packages = with pkgs; [
nix-output-monitor
];
};
nixosConfigurations = { nixosConfigurations = {
freun-dev = nixpkgs.lib.nixosSystem { freun-dev = nixpkgs.lib.nixosSystem {
inherit system specialArgs; inherit system specialArgs;