Post AcmTJs4rLUCLNHCrTM by taxuswc@shitpost.poridge.club
 (DIR) More posts by taxuswc@shitpost.poridge.club
 (DIR) Post #AclPj2la9Aosn5yehc by amiloradovsky@stereophonic.space
       2023-12-13T10:22:17.340633Z
       
       0 likes, 0 repeats
       
       don't touch the #containers unless you have to, go straight for a virtual machine — they more likely to what you want by default and are generally easier to configureyes, the overhead of a VM is a bit higher, but thinking about it right from the start is premature optimisation
       
 (DIR) Post #AclPs0rqZoCFVXBVey by amiloradovsky@stereophonic.space
       2023-12-13T10:23:54.153424Z
       
       0 likes, 0 repeats
       
       *do what you want
       
 (DIR) Post #AclRgOSbEWGT72xjhw by taxuswc@shitpost.poridge.club
       2023-12-13T10:31:20.040Z
       
       0 likes, 0 repeats
       
       @amiloradovsky@stereophonic.space containers are not limited to docker & friends though, guix or nix can also create them, and this is a super easy way to make sure that the stuff you are trying to package / develop does not really depend on something from your host distro
       
 (DIR) Post #AclRgP7MmwsH9U2IFc by amiloradovsky@stereophonic.space
       2023-12-13T10:43:39.541984Z
       
       0 likes, 0 repeats
       
       @taxuswc- never touched docker and never will- nixos containers are something to run particular packages in, not a replacement for a VM- trying to configure a container with say debootstrapped hierarchy running in systemd-nspawn is such a PITA, primarily because networking just won't work as I want it to- in guix there's no systemd and all the nixos experience wouldn't be transferable in any way- it's proprietary s/w, read malware, the overhead of a VM is small price to pay to keep it away from the host system
       
 (DIR) Post #AclUfs4RxM2uWM6pfM by taxuswc@shitpost.poridge.club
       2023-12-13T11:00:10.238Z
       
       0 likes, 0 repeats
       
       @amiloradovsky@stereophonic.space hmm but containers are just linux kernel feature, they have nothing to deal with systemd (yet)launching a script in a container with guix is just guix shell -C --network -m manifest.scm  whatever but I have little experience with VMs though, I mostly use containers as an isolation measure and mount some folders in ro, some in rw,  dunno how easy it is with VMs
       
 (DIR) Post #AclUfspF9NTarU0CbQ by amiloradovsky@stereophonic.space
       2023-12-13T11:17:43.114788Z
       
       0 likes, 0 repeats
       
       @taxuswc yes, the kernel feature is namespaces and containers are built with itGuix has utility analogous to systemd-nspawn but I don't even remember what it's called (guix shell isn't that, I need Debian or Fedora hierarchy in there)what I wanted from the networking is no Internet access from the container but SSH access to it from the host, so I could ssh -Y into it and run GUI applicationsVMs are actually very easy, especially with virt-manager, virt-install, and virsh — you even get persistence for free
       
 (DIR) Post #AcmMCvAakZQbG8cuIq by taxuswc@shitpost.poridge.club
       2023-12-13T20:50:15.898Z
       
       0 likes, 0 repeats
       
       @amiloradovsky@stereophonic.space ah, yep, those are probably guix system containers, and there is also --emulate-fhs to have a regular fs hierarchy there, don't know much about the network in this case :/
       
 (DIR) Post #AcmMCvpMJ02PIZhSqW by amiloradovsky@stereophonic.space
       2023-12-13T21:17:31.697262Z
       
       0 likes, 0 repeats
       
       @taxuswc in this case I need not just an FHS but some very specific layout with fixed versions of libraries and everything (otherwise this goddamn CAD suddenly just won't work without telling anything particular)
       
 (DIR) Post #AcmSu01BCSBaTN9H2u by taxuswc@shitpost.poridge.club
       2023-12-13T22:27:43.600Z
       
       0 likes, 0 repeats
       
       @amiloradovsky@stereophonic.space is the cad proprietary? if not, this actually might be a bit of fun making it work under ​:guix:​
       
 (DIR) Post #AcmSu0jqWNumhu2wfQ by amiloradovsky@stereophonic.space
       2023-12-13T22:32:33.787244Z
       
       0 likes, 0 repeats
       
       @taxuswc oh these are so proprietary I can't evenonce upon a time I've made OpenCASCADE (OCCT) port for Nixpkgs, not sure if it's in Guix now too but having Ki-, Libre- and FreeCAD there would be nicethough I don't do PCBs or mechanical design now so I don't personally need itshould I switch to Guix eventually, I may need to update Verilator and SystemC though
       
 (DIR) Post #AcmTJs4rLUCLNHCrTM by taxuswc@shitpost.poridge.club
       2023-12-13T22:35:45.025Z
       
       1 likes, 0 repeats
       
       @amiloradovsky@stereophonic.space oh then indeed,  my condolences