[darwin] 在 nix darwin 上跑通了
This commit is contained in:
+9
-11
@@ -1,27 +1,25 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "origami";
|
||||
home.homeDirectory = "/home/origami";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
./modules/shell.nix
|
||||
./modules/desktop.nix
|
||||
./modules/shell-develop.nix
|
||||
./modules/vscode.nix
|
||||
./modules/gnome-dconf.nix
|
||||
../modules/common.nix
|
||||
../modules/shell.nix
|
||||
../modules/desktop.nix
|
||||
../modules/shell-develop.nix
|
||||
../modules/vscode.nix
|
||||
../modules/gnome-dconf.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = _: true;
|
||||
home.packages = with pkgs;[
|
||||
# system call monitoring
|
||||
strace # system call monitoring
|
||||
ltrace # library call monitoring
|
||||
lsof # list open files
|
||||
];
|
||||
programs.nix-index.enable = true;
|
||||
|
||||
home.stateVersion = "23.11";
|
||||
programs.fish.shellAliases = {
|
||||
"flake-update" = "nixos-rebuild switch --use-remote-sudo --flake ${config.home.homeDirectory}/flakes#eris";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.homeDirectory = "/Users/origami";
|
||||
|
||||
imports = [
|
||||
../modules/common.nix
|
||||
../modules/shell.nix
|
||||
../modules/shell-develop.nix
|
||||
../modules/vscode.nix
|
||||
];
|
||||
|
||||
programs.fish.shellAliases = {
|
||||
"flake-update" = "home-manager switch --flake ${config.home.homeDirectory}/flakes#origami@hypnos";
|
||||
};
|
||||
}
|
||||
@@ -1,16 +1,11 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "origami";
|
||||
home.homeDirectory = "/home/origami";
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
./modules/shell.nix
|
||||
./modules/shell-develop.nix
|
||||
../modules/common.nix
|
||||
../modules/shell.nix
|
||||
../modules/shell-develop.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = _: true;
|
||||
home.stateVersion = "23.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user