nix fmt
This commit is contained in:
parent
f4ae83722a
commit
ceaae6394c
2 changed files with 23 additions and 22 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -87,11 +87,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1717196966,
|
"lastModified": 1717602782,
|
||||||
"narHash": "sha256-yZKhxVIKd2lsbOqYd5iDoUIwsRZFqE87smE2Vzf6Ck0=",
|
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "57610d2f8f0937f39dbd72251e9614b1561942d8",
|
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
39
flake.nix
39
flake.nix
|
@ -33,7 +33,7 @@
|
||||||
modules = [
|
modules = [
|
||||||
./home/home.nix
|
./home/home.nix
|
||||||
];
|
];
|
||||||
pkgs = nixpkgs.legacyPackages.${system}.extend(import ./pkgs/default.nix);
|
pkgs = nixpkgs.legacyPackages.${system}.extend (import ./pkgs/default.nix);
|
||||||
extraSpecialArgs = specialArgs;
|
extraSpecialArgs = specialArgs;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -48,27 +48,28 @@
|
||||||
##########################
|
##########################
|
||||||
# Linux-specific options #
|
# Linux-specific options #
|
||||||
##########################
|
##########################
|
||||||
linuxSystems (system: {
|
linuxSystems
|
||||||
homeConfigurations = {
|
(system: {
|
||||||
# First, we currently assume that Linux devices
|
homeConfigurations = {
|
||||||
# only require dotfiles and utilize the username `spotlight`.
|
# First, we currently assume that Linux devices
|
||||||
#
|
# only require dotfiles and utilize the username `spotlight`.
|
||||||
# For now, this is effectively true, sans a few specific configurations :)
|
#
|
||||||
spotlight = homeManager {
|
# For now, this is effectively true, sans a few specific configurations :)
|
||||||
system = system;
|
spotlight = homeManager {
|
||||||
};
|
system = system;
|
||||||
|
};
|
||||||
|
|
||||||
# For a special case: with the Steam Deck, we have to assume the user
|
# For a special case: with the Steam Deck, we have to assume the user
|
||||||
# is named `deck` due to its immutable system image.
|
# is named `deck` due to its immutable system image.
|
||||||
deck = homeManager {
|
deck = homeManager {
|
||||||
system = system;
|
system = system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
gpg = true;
|
gpg = true;
|
||||||
username = "deck";
|
username = "deck";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
})
|
||||||
})
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue