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)
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
New contributor
add a comment |
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
New contributor
add a comment |
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
New contributor
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
nixos
New contributor
New contributor
New contributor
asked 10 hours ago
Manuel SchmidtManuel Schmidt
1011
1011
New contributor
New contributor
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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