saerro sync
This commit is contained in:
parent
86f11dc3e7
commit
88a73fb421
9 changed files with 79 additions and 135 deletions
23
flake.nix
23
flake.nix
|
@ -11,7 +11,6 @@
|
|||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-master.url = "github:nixos/nixpkgs/master";
|
||||
|
||||
# Home manageKr
|
||||
home-manager = {
|
||||
|
@ -20,10 +19,6 @@
|
|||
};
|
||||
|
||||
# Darwin & Apple Silicon tools
|
||||
darwin = {
|
||||
url = "github:lnl7/nix-darwin";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
apple-silicon.url = "github:tpwrules/nixos-apple-silicon";
|
||||
|
||||
# Secrets
|
||||
|
@ -42,7 +37,7 @@
|
|||
|
||||
# Iceshrimpy
|
||||
iceshrimp = {
|
||||
url = "git+https://iceshrimp.dev/iceshrimp/packaging";
|
||||
url = "git+https://iceshrimp.dev/iceshrimp/packaging?dir=iceshrimp-js";
|
||||
inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
};
|
||||
iceshrimp-withdrawal = {
|
||||
|
@ -109,8 +104,6 @@
|
|||
"aarch64-linux"
|
||||
"i686-linux"
|
||||
"x86_64-linux"
|
||||
"aarch64-darwin"
|
||||
"x86_64-darwin"
|
||||
];
|
||||
|
||||
mkNixos = modules: nixpkgs.lib.nixosSystem {
|
||||
|
@ -118,11 +111,6 @@
|
|||
specialArgs = { inherit inputs outputs; };
|
||||
};
|
||||
|
||||
mkDarwin = system: modules: inputs.darwin.lib.darwinSystem {
|
||||
inherit modules system inputs;
|
||||
specialArgs = { inherit inputs outputs; };
|
||||
};
|
||||
|
||||
mkHome = modules: pkgs: home-manager.lib.homeManagerConfiguration {
|
||||
inherit modules pkgs;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
|
@ -162,10 +150,6 @@
|
|||
# These are usually stuff you would upstream into home-manager
|
||||
homeManagerModules = import ./modules/home-manager;
|
||||
|
||||
# Reusable nix-darwin packages you might want to export
|
||||
# These are usually hacks!
|
||||
darwinModules = import ./modules/darwin;
|
||||
|
||||
# NixOS configuration entrypoint
|
||||
# Available through 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
|
@ -190,11 +174,6 @@
|
|||
ts3 = mkNixos [ ./nixos/hosts/ts3 ]; # Teamspeak-san
|
||||
};
|
||||
|
||||
darwinConfigurations = {
|
||||
# in asahi => noe-air = mkDarwin "aarch64-darwin" [ ./darwin/hosts/noe-air ];
|
||||
AMERMACC02G65A8MD6T = mkDarwin "x86_64-darwin" [ ./darwin/hosts/work-mac ];
|
||||
};
|
||||
|
||||
# Standalone home-manager configuration entrypoint
|
||||
# Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
homeConfigurations = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue