treewide: sorting
|
@ -8,7 +8,7 @@ keys:
|
||||||
- &hosts:
|
- &hosts:
|
||||||
- &aristotle age1hm6pkvt4d640wmjhxg5wxfwkp9zhcqre9klr4zg5kx2qx7vyhuuqlytmnp
|
- &aristotle age1hm6pkvt4d640wmjhxg5wxfwkp9zhcqre9klr4zg5kx2qx7vyhuuqlytmnp
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: users/guanranwang/secrets.yaml$
|
- path_regex: secrets.yaml$
|
||||||
key_groups:
|
key_groups:
|
||||||
- age:
|
- age:
|
||||||
- *guanranwang
|
- *guanranwang
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../profiles/desktop
|
../../profiles/desktop
|
||||||
|
../../profiles/common/opt-in/clash-meta-client.nix
|
||||||
../../../users/guanranwang/darwin/profiles/desktop
|
|
||||||
../../../users/guanranwang/darwin/profiles/common/opt-in/clash-meta-client.nix
|
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,4 +1,11 @@
|
||||||
{inputs, ...}: {
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
### Options
|
||||||
|
home-manager.users.guanranwang = import ./home;
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./nix
|
./nix
|
||||||
./anti-features.nix
|
./anti-features.nix
|
||||||
|
@ -8,6 +15,17 @@
|
||||||
inputs.home-manager.darwinModules.home-manager
|
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 = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
imports = [
|
||||||
../../../../../home-manager
|
../../../../../home
|
||||||
];
|
];
|
||||||
|
|
||||||
# https://github.com/mathiasbynens/dotfiles/blob/main/.macos
|
# 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
|
||||||
home-manager.users.guanranwang = import ./home;
|
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 |