Skip to content

Commit

Permalink
surface: test
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Feb 29, 2024
1 parent 067fd99 commit e06d4be
Show file tree
Hide file tree
Showing 23 changed files with 176 additions and 341 deletions.
90 changes: 45 additions & 45 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions flake/hosts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ in {
};

flake.nixosConfigurations = lib.mkMerge [
# (mkHost {
# name = "surface";
# system = "x86_64-linux";
# extraModules = with inputs.nixos-hardware.nixosModules; [
# microsoft-surface-common
# ];
# })
(mkHost {
name = "surface";
system = "x86_64-linux";
extraModules = with inputs.nixos-hardware.nixosModules; [
microsoft-surface-common
];
})
(mkHost {
name = "arx8";
system = "x86_64-linux";
Expand Down
13 changes: 6 additions & 7 deletions home-manager/modules/desktop/chromium.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
{
nixosConfig,
config,
lib,
pkgs,
...
}: {
{...}: {
programs.chromium = {
enable = true;
extensions = [
Expand All @@ -15,6 +9,11 @@
# "dbepggeogbaibhgnhhndojpepiihcmeb" # Vimium
];
};
# https://github.com/linyinfeng/dotfiles/blob/main/home-manager/profiles/chromium/default.nix
home.sessionVariables = {
GOOGLE_DEFAULT_CLIENT_ID = "77185425430.apps.googleusercontent.com";
GOOGLE_DEFAULT_CLIENT_SECRET = "OTJgUOQcT7lO7GsGZq2G4IlT";
};
home.global-persistence = {
directories = [
".config/chromium"
Expand Down
Loading

0 comments on commit e06d4be

Please sign in to comment.