add disko and comments
This commit is contained in:
parent
61f5e0e0cd
commit
bccae097f4
2 changed files with 12 additions and 1 deletions
11
flake.nix
11
flake.nix
|
@ -2,17 +2,28 @@
|
|||
description = "NixOS System Config";
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
# nixpkgs-wayland - Wayland-specific packages not in nixpkgs
|
||||
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
||||
# home-manager - Dotfile mnagement
|
||||
home-manager.url = "github:nix-community/home-manager/master";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# lanzaboote - Secureboot Configuration
|
||||
lanzaboote.url = "github:nix-community/lanzaboote";
|
||||
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# nur - Nix User Repository - user-submitted / maintained packages
|
||||
nur.url = "github:nix-community/NUR";
|
||||
# sops-nix - Secret Management with SOPS using GPG Keys
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
# doom-emacs - The Doom Emacs distribution
|
||||
doom-emacs.url = "github:nix-community/nix-doom-emacs";
|
||||
# nixos-hardware - Hardware Configurations
|
||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
# nixos-generators - Automated Image / ISO Creation
|
||||
nixos-generators.url = "github:nix-community/nixos-generators";
|
||||
nixos-generators.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# disko - Automated Disk Partitioning
|
||||
disko.url = "github:nix-community/disko";
|
||||
disko.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, nixos-generators, ... } @inputs:
|
||||
let
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
||||
imports = [ ];
|
||||
imports = [ (import ./disks.nix { }) ];
|
||||
nixpkgs.config.allowUnfree = false;
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
|
||||
|
|
Loading…
Reference in a new issue