remote-access: add waypipe; roles/devel.nix: disable binfmt + enable vscode-fhs

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2024-01-06 12:01:49 +03:00
parent 4ec4865520
commit a77155ef67
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C
2 changed files with 19 additions and 17 deletions

View file

@ -14,6 +14,7 @@
''; '';
}; };
environment.systemPackages = lib.mkIf config.my.roles.graphical.enable [ pkgs.waypipe ]; environment.systemPackages =
lib.mkIf config.my.roles.graphical.enable [ pkgs.waypipe ];
programs.ssh.startAgent = true; programs.ssh.startAgent = true;
} }

View file

@ -33,6 +33,7 @@ in {
sshfs sshfs
]; ];
} }
/* # Will be reenabled
# Architecture-specific packages and configuration # Architecture-specific packages and configuration
(lib.mkIf (!pkgs.stdenv.isAarch64) { (lib.mkIf (!pkgs.stdenv.isAarch64) {
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
@ -43,17 +44,17 @@ in {
(lib.mkIf (!pkgs.stdenv.isx86_64) { (lib.mkIf (!pkgs.stdenv.isx86_64) {
boot.binfmt.emulatedSystems = [ "x86_64-linux" "i686-linux" ]; boot.binfmt.emulatedSystems = [ "x86_64-linux" "i686-linux" ];
}) })
*/
/* # Install CLion only if we are on x86_64 /* # Install CLion only if we are on x86_64
(lib.mkIf (pkgs.stdenv.isx86_64) { (lib.mkIf (pkgs.stdenv.isx86_64) {
environment.systemPackages = with pkgs; [ jetbrains.clion ]; environment.systemPackages = with pkgs; [ jetbrains.clion ];
}) })
*/
# Install vscode only if we are on x86_64 or aarch64 or aarch32 # Install vscode only if we are on x86_64 or aarch64 or aarch32
(lib.mkIf (lib.mkIf
(pkgs.stdenv.isx86_64 || pkgs.stdenv.isAarch64 || pkgs.stdenv.isAarch32) { (pkgs.stdenv.isx86_64 || pkgs.stdenv.isAarch64 || pkgs.stdenv.isAarch32) {
environment.systemPackages = with pkgs; [ vscode ]; environment.systemPackages = with pkgs; [ vscode-fhs ];
}) })
*/
]); ]);
} }