laptop: Add wechat
This commit is contained in:
parent
029a9efcea
commit
29885591ce
3 changed files with 136 additions and 9 deletions
16
flake.nix
16
flake.nix
|
@ -2,14 +2,26 @@
|
|||
inputs = {
|
||||
# Pin nixpkgs to a specific commit
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-22.11";
|
||||
|
||||
nur.url = "github:nix-community/NUR";
|
||||
nur-xddxdd = {
|
||||
url = "github:xddxdd/nur-packages";
|
||||
inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nur }: {
|
||||
nixos-cn = {
|
||||
url = "github:nixos-cn/flakes";
|
||||
# Use the same nixpkgs
|
||||
inputs.nixpkgs.follows = "nixpkgs-stable";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
outputs = { self, nixpkgs, nur, nixos-cn, ...}@attrs: {
|
||||
nixosConfigurations.xin-laptop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = attrs;
|
||||
modules = [
|
||||
nur.nixosModules.nur
|
||||
machines/laptop/configuration.nix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue