feat: NixOS template for new users #33
|
@ -2,19 +2,30 @@
|
||||||
description = "A system flake with various options for bootstrapping a complete NixOS install.";
|
description = "A system flake with various options for bootstrapping a complete NixOS install.";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
||||||
|
# Import the desired Nix channel. Defaults to unstable, which uses a fully tested rolling release model.
|
||||||
|
# You can find a list of channels at https://nixos.wiki/wiki/Nix_channels
|
||||||
|
# To follow a different channel, replace `nixos-unstable` with the channel name, e.g. `nixos-24.05`.
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
# Use Lix in place of Nix.
|
||||||
|
# If you'd rather use regular Nix, remove `lix-module.nixosModules.default` from the `modules` section below.
|
||||||
|
# To learn more about Lix, see https://lix.systems/
|
||||||
|
lix-module = {
|
||||||
|
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.90.0-rc1.tar.gz";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
# Flatpak support
|
# Flatpak support
|
||||||
nix-flatpak.url = "github:gmodena/nix-flatpak/v0.4.1";
|
nix-flatpak.url = "github:gmodena/nix-flatpak/v0.4.1";
|
||||||
|
|
||||||
# Import the desired Nixpkgs repo. Defaults to unstable.
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
||||||
|
|
||||||
# SecureBoot support
|
# SecureBoot support
|
||||||
lanzaboote.url = "github:nix-community/lanzaboote/v0.4.0";
|
lanzaboote.url = "github:nix-community/lanzaboote/v0.4.0";
|
||||||
|
|
||||||
# NixOS hardware quirks
|
# NixOS hardware quirks
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
||||||
# Add Home-manager support
|
# Home-manager support
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@ -26,6 +37,7 @@
|
||||||
self,
|
self,
|
||||||
home-manager,
|
home-manager,
|
||||||
lanzaboote,
|
lanzaboote,
|
||||||
|
lix-module,
|
||||||
nix-flatpak,
|
nix-flatpak,
|
||||||
nixos-hardware,
|
nixos-hardware,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
@ -70,6 +82,7 @@
|
||||||
./modules/autoimport.nix
|
./modules/autoimport.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
lanzaboote.nixosModules.lanzaboote
|
lanzaboote.nixosModules.lanzaboote
|
||||||
|
lix-module.nixosModules.default
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
./host/configuration.nix
|
./host/configuration.nix
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue