Allow overriding username
More specifically, this assists with the Steam Deck.
This commit is contained in:
parent
252fcc6f6f
commit
a2c941ea44
3 changed files with 26 additions and 12 deletions
10
flake.nix
10
flake.nix
|
@ -51,6 +51,16 @@
|
|||
gpg = true;
|
||||
};
|
||||
};
|
||||
|
||||
# For a special case: with the Steam Deck, we have to assume the user
|
||||
# is named `deck` due to its immutable system image.
|
||||
x86_64-linux.homeConfigurations.deck = homeManager {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
gpg = true;
|
||||
username = "deck";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixosModules.default = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue