treewide: sorting
|
@ -8,7 +8,7 @@ keys:
|
|||
- &hosts:
|
||||
- &aristotle age1hm6pkvt4d640wmjhxg5wxfwkp9zhcqre9klr4zg5kx2qx7vyhuuqlytmnp
|
||||
creation_rules:
|
||||
- path_regex: users/guanranwang/secrets.yaml$
|
||||
- path_regex: secrets.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *guanranwang
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../profiles/desktop
|
||||
|
||||
../../../users/guanranwang/darwin/profiles/desktop
|
||||
../../../users/guanranwang/darwin/profiles/common/opt-in/clash-meta-client.nix
|
||||
../../profiles/common/opt-in/clash-meta-client.nix
|
||||
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
{inputs, ...}: {
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
### Options
|
||||
home-manager.users.guanranwang = import ./home;
|
||||
|
||||
imports = [
|
||||
./nix
|
||||
./anti-features.nix
|
||||
|
@ -8,6 +15,17 @@
|
|||
inputs.home-manager.darwinModules.home-manager
|
||||
];
|
||||
|
||||
users = {
|
||||
knownUsers = ["guanranwang"];
|
||||
users."guanranwang" = {
|
||||
createHome = true;
|
||||
description = "Guanran Wang";
|
||||
home = "/Users/guanranwang";
|
||||
shell = pkgs.fish;
|
||||
uid = 501;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../../home-manager
|
||||
../../../../../home
|
||||
];
|
||||
|
||||
# https://github.com/mathiasbynens/dotfiles/blob/main/.macos
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
homebrew.casks = [
|
||||
"steam"
|
||||
];
|
||||
}
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
imports = [
|
||||
../common/core
|
||||
];
|
||||
### home-manager
|
||||
home-manager.users.guanranwang = import ./home;
|
||||
|
||||
homebrew.casks = [
|
||||
"steam"
|
||||
];
|
||||
}
|
5
darwin/profiles/common/opt-in/gaming/home/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../../home/applications/prismlauncher
|
||||
];
|
||||
}
|
Before Width: | Height: | Size: 514 B After Width: | Height: | Size: 514 B |
Before Width: | Height: | Size: 603 B After Width: | Height: | Size: 603 B |
Before Width: | Height: | Size: 479 B After Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 678 B After Width: | Height: | Size: 678 B |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 358 B |
Before Width: | Height: | Size: 533 B After Width: | Height: | Size: 533 B |
Before Width: | Height: | Size: 760 B After Width: | Height: | Size: 760 B |
Before Width: | Height: | Size: 380 B After Width: | Height: | Size: 380 B |
Before Width: | Height: | Size: 425 B After Width: | Height: | Size: 425 B |