Mount home from different disk (migrating from ubuntu)

Create chunks from an array

How does a sound wave propagate?

What does *dead* mean in *What do you mean, dead?*?

Ultrafilters as a double dual

The (Easy) Road to Code

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

After Brexit, will the EU recognize British passports that are valid for more than ten years?

Mixed Feelings - What am I

What exactly is the meaning of "fine wine"?

Should we avoid writing fiction about historical events without extensive research?

Can the Witch Sight warlock invocation see through the Mirror Image spell?

What would be the most expensive material to an intergalactic society?

Professor forcing me to attend a conference, I can't afford even with 50% funding

Sort array by month and year

Rationale to prefer local variables over instance variables?

Vector-transposing function

What is the purpose of a disclaimer like "this is not legal advice"?

What is better: yes / no radio, or simple checkbox?

Why is there an extra space when I type "ls" on the Desktop?

How to install "rounded" brake pads

What is the orbit and expected lifetime of Crew Dragon trunk?

Does the US political system, in principle, allow for a no-party system?

Inorganic chemistry handbook with reaction lists

Tabular environment - text vertically positions itself by bottom of tikz picture in adjacent cell



Mount home from different disk (migrating from ubuntu)














0















I am moving from ubuntu to nixos. I would like to keep my previous home directory which is on another disk.



I installed nixos successfully. Then I added



fileSystems."/home" = {
device= "/dev/disk/by-uuid/123...;
fsType = "ext4";
};


to configuration.nix, which seems to mount the disk correctly.



However, I cannot login to kde with my user anymore. It is



users.users.manuel = {
isNormalUser = true;
uid = 1000; # all files in /home/manuel have uid 1000
home=/home/manuel;
extraGroups = [ "wheel" "networkmanager ];
};


The group does not match:



> ll /home
drwxr-rxr-x 55 manuel 1000 4.0K Mar 7 16:58 manuel/


The user can login into console and also write into /home/manuel. But its home ~ is at /nix/store/1gr0...-manuel.



How can I fix this?










share|improve this question







New contributor




Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I am moving from ubuntu to nixos. I would like to keep my previous home directory which is on another disk.



    I installed nixos successfully. Then I added



    fileSystems."/home" = {
    device= "/dev/disk/by-uuid/123...;
    fsType = "ext4";
    };


    to configuration.nix, which seems to mount the disk correctly.



    However, I cannot login to kde with my user anymore. It is



    users.users.manuel = {
    isNormalUser = true;
    uid = 1000; # all files in /home/manuel have uid 1000
    home=/home/manuel;
    extraGroups = [ "wheel" "networkmanager ];
    };


    The group does not match:



    > ll /home
    drwxr-rxr-x 55 manuel 1000 4.0K Mar 7 16:58 manuel/


    The user can login into console and also write into /home/manuel. But its home ~ is at /nix/store/1gr0...-manuel.



    How can I fix this?










    share|improve this question







    New contributor




    Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I am moving from ubuntu to nixos. I would like to keep my previous home directory which is on another disk.



      I installed nixos successfully. Then I added



      fileSystems."/home" = {
      device= "/dev/disk/by-uuid/123...;
      fsType = "ext4";
      };


      to configuration.nix, which seems to mount the disk correctly.



      However, I cannot login to kde with my user anymore. It is



      users.users.manuel = {
      isNormalUser = true;
      uid = 1000; # all files in /home/manuel have uid 1000
      home=/home/manuel;
      extraGroups = [ "wheel" "networkmanager ];
      };


      The group does not match:



      > ll /home
      drwxr-rxr-x 55 manuel 1000 4.0K Mar 7 16:58 manuel/


      The user can login into console and also write into /home/manuel. But its home ~ is at /nix/store/1gr0...-manuel.



      How can I fix this?










      share|improve this question







      New contributor




      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am moving from ubuntu to nixos. I would like to keep my previous home directory which is on another disk.



      I installed nixos successfully. Then I added



      fileSystems."/home" = {
      device= "/dev/disk/by-uuid/123...;
      fsType = "ext4";
      };


      to configuration.nix, which seems to mount the disk correctly.



      However, I cannot login to kde with my user anymore. It is



      users.users.manuel = {
      isNormalUser = true;
      uid = 1000; # all files in /home/manuel have uid 1000
      home=/home/manuel;
      extraGroups = [ "wheel" "networkmanager ];
      };


      The group does not match:



      > ll /home
      drwxr-rxr-x 55 manuel 1000 4.0K Mar 7 16:58 manuel/


      The user can login into console and also write into /home/manuel. But its home ~ is at /nix/store/1gr0...-manuel.



      How can I fix this?







      nixos






      share|improve this question







      New contributor




      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 10 hours ago









      Manuel SchmidtManuel Schmidt

      1011




      1011




      New contributor




      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Manuel Schmidt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Manuel Schmidt is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1412503%2fmount-home-from-different-disk-migrating-from-ubuntu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Manuel Schmidt is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Manuel Schmidt is a new contributor. Be nice, and check out our Code of Conduct.













          Manuel Schmidt is a new contributor. Be nice, and check out our Code of Conduct.












          Manuel Schmidt is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1412503%2fmount-home-from-different-disk-migrating-from-ubuntu%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...