flake.nix: add stable nixpkgs
This commit is contained in:
parent
15ad1b3495
commit
fdec345d4a
1 changed files with 5 additions and 9 deletions
14
flake.nix
14
flake.nix
|
@ -1,8 +1,7 @@
|
||||||
{
|
{
|
||||||
description = "oxa's system configs";
|
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
nixpkgs-unstable.url = github:NixOS/nixpkgs/nixos-unstable;
|
||||||
|
nixpkgs.url = github:NixOS/nixpkgs/nixos-22.05;
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
url = github:Mic92/sops-nix;
|
url = github:Mic92/sops-nix;
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -13,11 +12,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, sops-nix, microvm, ... }: {
|
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, sops-nix, microvm, ... }: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
microwave = nixpkgs.lib.nixosSystem {
|
microwave = nixpkgs-unstable.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
modules = [
|
modules = [
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
./hosts/microwave/configuration.nix
|
./hosts/microwave/configuration.nix
|
||||||
|
@ -29,14 +27,12 @@
|
||||||
./modules/hw-accel-intel.nix
|
./modules/hw-accel-intel.nix
|
||||||
./modules/kernel-latest.nix
|
./modules/kernel-latest.nix
|
||||||
./modules/virtualization.nix
|
./modules/virtualization.nix
|
||||||
./modules/emacs.nix
|
|
||||||
./modules/radio.nix
|
./modules/radio.nix
|
||||||
./modules/tlp.nix
|
./modules/tlp.nix
|
||||||
./modules/chromium.nix
|
|
||||||
./modules/wireguard.nix
|
./modules/wireguard.nix
|
||||||
./modules/binary-caches.nix
|
./modules/binary-caches.nix
|
||||||
./modules/science.nix
|
./modules/science.nix
|
||||||
./modules/gnome.nix
|
./modules/sway.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue