mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
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:
parent
4ec4865520
commit
a77155ef67
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 ];
|
||||||
})
|
})
|
||||||
*/
|
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue