β² 386 βΌ I know that it's rolling release, but 4 times this year seems a bit much (lemmy.world) submitted 2 years ago by bali10050@lemmy.world to c/linuxmemes@lemmy.world 104 comments fedilink hide all child comments
[β] jlh@lemmy.jlh.name 10 points 2 years ago (5 children) Join the NixOS side! I almost never get a broken boot, and if I do, I can always rollback and debug my config when I have time. permalink fedilink source hideshow 10 child comments replies: [β] samajgaya@feddit.rocks 6 points 2 years ago (3 children) Just curious before distro-hopping. What functionality does the reproducibility of nixOS serve to a user (like me) with only one desktop. Like I won't be installing the same system multiple times, I understand the 'predictable-ness' of a declarative system. But are there some other advantages? permalink fedilink source parent hideshow 6 child comments replies: [β] jlh@lemmy.jlh.name 5 points 2 years ago I find it useful to not have to remember how I set things up when I last touched it months ago. You can do really ricey tweaks if you want to, without worrying about breaking the whole system, or having to set it all up again if you have to reinstall. I work in Devops, so being able to track my system in git is insanely useful for maintainability. The fact that NixOS has fearless bleeding edge is just a plus; Being able to install the latest packages before Arch even gets them, without worrying if something will break. permalink fedilink source parent [β] unlawfulbooger@lemmy.blahaj.zone 3 points 2 years ago Maybe your drive(s) fail and you want to reinstall. Then you already have a setup with all your software and config files installed. Just reinstall NixOS and re-apply your configuration (or build your own Install ISO ). And if you ever get a new laptop/desktop/VM/VPS you can do the same. Donβt forget to take backups, regardless of your setup tho. The reproducibility also leads to some surprise features, like being able to wipe your entire system on every boot. Since NixOS always puts the necessary files in the correct place, this is perfectly fine. If you then add some mechanism to persist specific data across reboots (a separate partition, or the Impermanence module), you will remove all kinda of randomly accumulated files on every boot. This means I have very small backups, because I have three kinds of data: stuff that is wiped on every boot, stuff that is persisted but not backed up (/nix/store, all kinds of caches) and stuff that is persisted and backed up (documents, repositories, media). None of my OSβs files are in the backups, which makes of them a lot smaller than my previous arch install. permalink fedilink source parent [β] something_random_tho@lemmy.world 1 point 2 years ago (1 child) I installed some broken Nvidia drivers and lost all video out. I rebooted the PC, selected the previous generation, and voilaβ¦ working PC again. On Arch Iβd be debugging it for hours. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 2 points 2 years ago (2 children) Btrfs snapshots and auto snapshots is kind of the same? permalink fedilink source parent hideshow 4 child comments replies: [β] Wilzax@lemmy.world 3 points 2 years ago (1 child) NixOS can be managed with Git and you can bring your old environment to a new PC without reloading a full snapshot. Config and data are kept separate when you use Nix to handle the config permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Not a developer myself; what benefits does that give me? I know it's repeatable on different hardware or equal across machines, but wat else would be a win to pick Nix? Immutable so its a pretty static experience? permalink fedilink source parent [β] Chewy7324@discuss.tchncs.de 1 point 2 years ago* (last edited 2 years ago) (1 child) For most use-cases, yes. I wouldn't want to use any distro without simple rollback anymore. This boils down to Fedora Atomic, NixOS, or btrfs + any distro. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Agreed. Lifesaver tool many times as a average Linux nerd for about 2-3 years now. permalink fedilink source parent [β] Hominine@lemmy.world 2 points 2 years ago I'm in the middle of nix syntax (nixtax?) and good lord it is quite the learning curve. It has been fun hammering my system back to where it was with Arch though and I'm looking forward to the magical powers that will come with mastering the language. Nothing but respect for the community, y'all are something else. permalink fedilink source parent [β] bali10050@lemmy.world [S] 2 points 2 years ago (2 children) The βalmostβ part makes me a bit concerned, but i'm planning to give it a try permalink fedilink source parent hideshow 4 child comments replies: [β] null@slrpnk.net 1 point 2 years ago The "almost" applies to every distro in existence. permalink fedilink source parent [β] jlh@lemmy.jlh.name 1 point 2 years ago I think the only time I've broken my boot was when I was messing with the boot settings and set something wrong with luks decryption. I just booted the previous config from the boot list and fixed it, no problem. permalink fedilink source parent [β] gunpachi@lemmings.world 1 point 2 years ago (1 child) A few days ago I started using NixOS as my daily driver. I am yet to understand how to use home-manager and the nix language but right now I'm good with the main configuration.nix and fleek. permalink fedilink source parent hideshow 2 child comments replies: [β] jlh@lemmy.jlh.name 1 point 2 years ago Yeah, I didn't touch home-manager for a while, it's not really that important to start using. It's nice for managing dot files, but the main configuration.nix is much more powerful. permalink fedilink source parent [β] cyberpunk007@lemmy.ca 1 point 2 years ago (1 child) Hm, this does seem pretty good. I was worried about losing AUR until the author of this says it's pretty similar in terms of package availability... https://itsfoss.com/why-use-nixos/ permalink fedilink source parent hideshow 2 child comments replies: [β] jlh@lemmy.jlh.name 1 point 2 years ago Yup, the official nixos repo is about the same size as the AUR, so you get all the same packages, and they're usually more up to date. The only drawbacks for availability is that writing your own packages is harder, and there are some quirks if you're trying to use appimages. But overall, really good for daily driving, and it's really easy to request new packages on the nixpkgs Github if anything is missing. permalink fedilink source parent
[β] samajgaya@feddit.rocks 6 points 2 years ago (3 children) Just curious before distro-hopping. What functionality does the reproducibility of nixOS serve to a user (like me) with only one desktop. Like I won't be installing the same system multiple times, I understand the 'predictable-ness' of a declarative system. But are there some other advantages? permalink fedilink source parent hideshow 6 child comments replies: [β] jlh@lemmy.jlh.name 5 points 2 years ago I find it useful to not have to remember how I set things up when I last touched it months ago. You can do really ricey tweaks if you want to, without worrying about breaking the whole system, or having to set it all up again if you have to reinstall. I work in Devops, so being able to track my system in git is insanely useful for maintainability. The fact that NixOS has fearless bleeding edge is just a plus; Being able to install the latest packages before Arch even gets them, without worrying if something will break. permalink fedilink source parent [β] unlawfulbooger@lemmy.blahaj.zone 3 points 2 years ago Maybe your drive(s) fail and you want to reinstall. Then you already have a setup with all your software and config files installed. Just reinstall NixOS and re-apply your configuration (or build your own Install ISO ). And if you ever get a new laptop/desktop/VM/VPS you can do the same. Donβt forget to take backups, regardless of your setup tho. The reproducibility also leads to some surprise features, like being able to wipe your entire system on every boot. Since NixOS always puts the necessary files in the correct place, this is perfectly fine. If you then add some mechanism to persist specific data across reboots (a separate partition, or the Impermanence module), you will remove all kinda of randomly accumulated files on every boot. This means I have very small backups, because I have three kinds of data: stuff that is wiped on every boot, stuff that is persisted but not backed up (/nix/store, all kinds of caches) and stuff that is persisted and backed up (documents, repositories, media). None of my OSβs files are in the backups, which makes of them a lot smaller than my previous arch install. permalink fedilink source parent [β] something_random_tho@lemmy.world 1 point 2 years ago (1 child) I installed some broken Nvidia drivers and lost all video out. I rebooted the PC, selected the previous generation, and voilaβ¦ working PC again. On Arch Iβd be debugging it for hours. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 2 points 2 years ago (2 children) Btrfs snapshots and auto snapshots is kind of the same? permalink fedilink source parent hideshow 4 child comments replies: [β] Wilzax@lemmy.world 3 points 2 years ago (1 child) NixOS can be managed with Git and you can bring your old environment to a new PC without reloading a full snapshot. Config and data are kept separate when you use Nix to handle the config permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Not a developer myself; what benefits does that give me? I know it's repeatable on different hardware or equal across machines, but wat else would be a win to pick Nix? Immutable so its a pretty static experience? permalink fedilink source parent [β] Chewy7324@discuss.tchncs.de 1 point 2 years ago* (last edited 2 years ago) (1 child) For most use-cases, yes. I wouldn't want to use any distro without simple rollback anymore. This boils down to Fedora Atomic, NixOS, or btrfs + any distro. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Agreed. Lifesaver tool many times as a average Linux nerd for about 2-3 years now. permalink fedilink source parent
[β] jlh@lemmy.jlh.name 5 points 2 years ago I find it useful to not have to remember how I set things up when I last touched it months ago. You can do really ricey tweaks if you want to, without worrying about breaking the whole system, or having to set it all up again if you have to reinstall. I work in Devops, so being able to track my system in git is insanely useful for maintainability. The fact that NixOS has fearless bleeding edge is just a plus; Being able to install the latest packages before Arch even gets them, without worrying if something will break. permalink fedilink source parent
[β] unlawfulbooger@lemmy.blahaj.zone 3 points 2 years ago Maybe your drive(s) fail and you want to reinstall. Then you already have a setup with all your software and config files installed. Just reinstall NixOS and re-apply your configuration (or build your own Install ISO ). And if you ever get a new laptop/desktop/VM/VPS you can do the same. Donβt forget to take backups, regardless of your setup tho. The reproducibility also leads to some surprise features, like being able to wipe your entire system on every boot. Since NixOS always puts the necessary files in the correct place, this is perfectly fine. If you then add some mechanism to persist specific data across reboots (a separate partition, or the Impermanence module), you will remove all kinda of randomly accumulated files on every boot. This means I have very small backups, because I have three kinds of data: stuff that is wiped on every boot, stuff that is persisted but not backed up (/nix/store, all kinds of caches) and stuff that is persisted and backed up (documents, repositories, media). None of my OSβs files are in the backups, which makes of them a lot smaller than my previous arch install. permalink fedilink source parent
[β] something_random_tho@lemmy.world 1 point 2 years ago (1 child) I installed some broken Nvidia drivers and lost all video out. I rebooted the PC, selected the previous generation, and voilaβ¦ working PC again. On Arch Iβd be debugging it for hours. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 2 points 2 years ago (2 children) Btrfs snapshots and auto snapshots is kind of the same? permalink fedilink source parent hideshow 4 child comments replies: [β] Wilzax@lemmy.world 3 points 2 years ago (1 child) NixOS can be managed with Git and you can bring your old environment to a new PC without reloading a full snapshot. Config and data are kept separate when you use Nix to handle the config permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Not a developer myself; what benefits does that give me? I know it's repeatable on different hardware or equal across machines, but wat else would be a win to pick Nix? Immutable so its a pretty static experience? permalink fedilink source parent [β] Chewy7324@discuss.tchncs.de 1 point 2 years ago* (last edited 2 years ago) (1 child) For most use-cases, yes. I wouldn't want to use any distro without simple rollback anymore. This boils down to Fedora Atomic, NixOS, or btrfs + any distro. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Agreed. Lifesaver tool many times as a average Linux nerd for about 2-3 years now. permalink fedilink source parent
[β] Kyouki@lemmy.world 2 points 2 years ago (2 children) Btrfs snapshots and auto snapshots is kind of the same? permalink fedilink source parent hideshow 4 child comments replies: [β] Wilzax@lemmy.world 3 points 2 years ago (1 child) NixOS can be managed with Git and you can bring your old environment to a new PC without reloading a full snapshot. Config and data are kept separate when you use Nix to handle the config permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Not a developer myself; what benefits does that give me? I know it's repeatable on different hardware or equal across machines, but wat else would be a win to pick Nix? Immutable so its a pretty static experience? permalink fedilink source parent [β] Chewy7324@discuss.tchncs.de 1 point 2 years ago* (last edited 2 years ago) (1 child) For most use-cases, yes. I wouldn't want to use any distro without simple rollback anymore. This boils down to Fedora Atomic, NixOS, or btrfs + any distro. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Agreed. Lifesaver tool many times as a average Linux nerd for about 2-3 years now. permalink fedilink source parent
[β] Wilzax@lemmy.world 3 points 2 years ago (1 child) NixOS can be managed with Git and you can bring your old environment to a new PC without reloading a full snapshot. Config and data are kept separate when you use Nix to handle the config permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Not a developer myself; what benefits does that give me? I know it's repeatable on different hardware or equal across machines, but wat else would be a win to pick Nix? Immutable so its a pretty static experience? permalink fedilink source parent
[β] Kyouki@lemmy.world 1 point 2 years ago Not a developer myself; what benefits does that give me? I know it's repeatable on different hardware or equal across machines, but wat else would be a win to pick Nix? Immutable so its a pretty static experience? permalink fedilink source parent
[β] Chewy7324@discuss.tchncs.de 1 point 2 years ago* (last edited 2 years ago) (1 child) For most use-cases, yes. I wouldn't want to use any distro without simple rollback anymore. This boils down to Fedora Atomic, NixOS, or btrfs + any distro. permalink fedilink source parent hideshow 2 child comments replies: [β] Kyouki@lemmy.world 1 point 2 years ago Agreed. Lifesaver tool many times as a average Linux nerd for about 2-3 years now. permalink fedilink source parent
[β] Kyouki@lemmy.world 1 point 2 years ago Agreed. Lifesaver tool many times as a average Linux nerd for about 2-3 years now. permalink fedilink source parent
[β] Hominine@lemmy.world 2 points 2 years ago I'm in the middle of nix syntax (nixtax?) and good lord it is quite the learning curve. It has been fun hammering my system back to where it was with Arch though and I'm looking forward to the magical powers that will come with mastering the language. Nothing but respect for the community, y'all are something else. permalink fedilink source parent
[β] bali10050@lemmy.world [S] 2 points 2 years ago (2 children) The βalmostβ part makes me a bit concerned, but i'm planning to give it a try permalink fedilink source parent hideshow 4 child comments replies: [β] null@slrpnk.net 1 point 2 years ago The "almost" applies to every distro in existence. permalink fedilink source parent [β] jlh@lemmy.jlh.name 1 point 2 years ago I think the only time I've broken my boot was when I was messing with the boot settings and set something wrong with luks decryption. I just booted the previous config from the boot list and fixed it, no problem. permalink fedilink source parent
[β] null@slrpnk.net 1 point 2 years ago The "almost" applies to every distro in existence. permalink fedilink source parent
[β] jlh@lemmy.jlh.name 1 point 2 years ago I think the only time I've broken my boot was when I was messing with the boot settings and set something wrong with luks decryption. I just booted the previous config from the boot list and fixed it, no problem. permalink fedilink source parent
[β] gunpachi@lemmings.world 1 point 2 years ago (1 child) A few days ago I started using NixOS as my daily driver. I am yet to understand how to use home-manager and the nix language but right now I'm good with the main configuration.nix and fleek. permalink fedilink source parent hideshow 2 child comments replies: [β] jlh@lemmy.jlh.name 1 point 2 years ago Yeah, I didn't touch home-manager for a while, it's not really that important to start using. It's nice for managing dot files, but the main configuration.nix is much more powerful. permalink fedilink source parent
[β] jlh@lemmy.jlh.name 1 point 2 years ago Yeah, I didn't touch home-manager for a while, it's not really that important to start using. It's nice for managing dot files, but the main configuration.nix is much more powerful. permalink fedilink source parent
[β] cyberpunk007@lemmy.ca 1 point 2 years ago (1 child) Hm, this does seem pretty good. I was worried about losing AUR until the author of this says it's pretty similar in terms of package availability... https://itsfoss.com/why-use-nixos/ permalink fedilink source parent hideshow 2 child comments replies: [β] jlh@lemmy.jlh.name 1 point 2 years ago Yup, the official nixos repo is about the same size as the AUR, so you get all the same packages, and they're usually more up to date. The only drawbacks for availability is that writing your own packages is harder, and there are some quirks if you're trying to use appimages. But overall, really good for daily driving, and it's really easy to request new packages on the nixpkgs Github if anything is missing. permalink fedilink source parent
[β] jlh@lemmy.jlh.name 1 point 2 years ago Yup, the official nixos repo is about the same size as the AUR, so you get all the same packages, and they're usually more up to date. The only drawbacks for availability is that writing your own packages is harder, and there are some quirks if you're trying to use appimages. But overall, really good for daily driving, and it's really easy to request new packages on the nixpkgs Github if anything is missing. permalink fedilink source parent