updated flake.nix
This commit is contained in:
parent
86803297e8
commit
a2ced94d06
1 changed files with 35 additions and 24 deletions
57
flake.nix
57
flake.nix
|
|
@ -30,7 +30,7 @@
|
|||
##
|
||||
|
||||
{
|
||||
description = "SerenityOS v0.6.99"; # Nice!
|
||||
description = "SerenityOS v0.7.0";
|
||||
## Latest features:
|
||||
## - Neovim installed, set up with stolen config and plugins
|
||||
## - ReGreet implemented, yet to be tested
|
||||
|
|
@ -59,23 +59,30 @@
|
|||
};
|
||||
|
||||
## Flake parts
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
flake-utils = {
|
||||
url = "github:numtide/flake-utils";
|
||||
};
|
||||
flake-parts = {
|
||||
url = "github:hercules-ci/flake-parts";
|
||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Lix, alternative nix implementation
|
||||
lix = {
|
||||
lix = { # lix language
|
||||
url = "git+https://git.lix.systems/lix-project/lix";
|
||||
flake = false;
|
||||
};
|
||||
lix-module = {
|
||||
lix-module = { # lix nixos module
|
||||
url = "git+https://git.lix.systems/lix-project/nixos-module";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.lix.follows = "lix";
|
||||
};
|
||||
|
||||
## Musnix - https://github.com/musnix/musnix
|
||||
musnix = {
|
||||
url = "github:musnix/musnix";
|
||||
};
|
||||
|
||||
## Secrets management
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
|
|
@ -89,6 +96,7 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
## Zoomer text editor
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
## If you are not running an unstable channel of nixpkgs,
|
||||
|
|
@ -111,10 +119,17 @@
|
|||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
|
||||
|
||||
## nixos generators
|
||||
nixos-generators = {
|
||||
url = "github:nix-ccommunity/nixos-generators";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, disko, sops-nix, home-manager,
|
||||
nixvim, nix-colors, hyprland, hyprland-plugins, ... }
|
||||
nixvim, nix-colors, hyprland, hyprland-plugins, nixos-generators, ... }
|
||||
|
||||
@ inputs: let
|
||||
inherit (self) outputs;
|
||||
|
|
@ -124,24 +139,10 @@
|
|||
nixosConfigurations = {
|
||||
|
||||
## Installer for easy nuke-n-paves
|
||||
#iso = nixpkgs.lib.nixosSystem {
|
||||
#specialArgs = {inherit inputs outputs;};
|
||||
#modules = [
|
||||
#"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix"
|
||||
#"${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
|
||||
#disko.nixosModules.disko
|
||||
#sops-nix.nixosModules.sops
|
||||
#./core/hosts/iso
|
||||
#];
|
||||
#};
|
||||
|
||||
## Laptop
|
||||
persephone = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
iso = nixos-generators.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
disko.nixosModules.disko
|
||||
sops-nix.nixosModules.sops
|
||||
./hosts/persephone
|
||||
./hosts/iso
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -165,6 +166,16 @@
|
|||
];
|
||||
};
|
||||
|
||||
## Laptop
|
||||
persephone = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
disko.nixosModules.disko
|
||||
sops-nix.nixosModules.sops
|
||||
./hosts/persephone
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue