Add disko configuration (disable for the moment to not have EDI overwrite its disk)
This commit is contained in:
parent
c1c4641509
commit
d9ff4d8de7
20
flake.nix
20
flake.nix
|
@ -4,12 +4,24 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
# Nixpkgs
|
# Nixpkgs
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
|
# Disko for declaratively setting disk formatting
|
||||||
|
inputs.disko.url = "github:nix-community/disko";
|
||||||
|
|
||||||
|
# Secret management with sops
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
|
|
||||||
|
# Simple mail server
|
||||||
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";
|
simple-nixos-mailserver.url = "gitlab:simple-nixos-mailserver/nixos-mailserver/master";
|
||||||
|
|
||||||
|
# Extra utils for flakes
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
|
# Manage KDE plasma desktop configuration
|
||||||
plasma-manager.url = "github:pjones/plasma-manager";
|
plasma-manager.url = "github:pjones/plasma-manager";
|
||||||
plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
|
plasma-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
plasma-manager.inputs.home-manager.follows = "home-manager";
|
plasma-manager.inputs.home-manager.follows = "home-manager";
|
||||||
|
|
||||||
# You can access packages and modules from different nixpkgs revs
|
# You can access packages and modules from different nixpkgs revs
|
||||||
# at the same time. Here's an working example:
|
# at the same time. Here's an working example:
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
@ -24,7 +36,10 @@
|
||||||
# Home manager
|
# Home manager
|
||||||
home-manager.url = "github:nix-community/home-manager/master";
|
home-manager.url = "github:nix-community/home-manager/master";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
# Fix for steam cursor not being visible under wayland
|
||||||
extest.url = "github:chaorace/extest-nix";
|
extest.url = "github:chaorace/extest-nix";
|
||||||
|
|
||||||
# Add any other flake you might need
|
# Add any other flake you might need
|
||||||
# hardware.url = "github:nixos/nixos-hardware";
|
# hardware.url = "github:nixos/nixos-hardware";
|
||||||
|
|
||||||
|
@ -85,6 +100,7 @@
|
||||||
./nixos/hosts/EDI/configuration.nix
|
./nixos/hosts/EDI/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
lanzaboote.nixosModules.lanzaboote
|
lanzaboote.nixosModules.lanzaboote
|
||||||
|
disko.nixosModules.disko
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = [plasma-manager.homeManagerModules.plasma-manager];
|
home-manager.sharedModules = [plasma-manager.homeManagerModules.plasma-manager];
|
||||||
|
@ -102,6 +118,7 @@
|
||||||
./nixos/hosts/GLaDOS/configuration.nix
|
./nixos/hosts/GLaDOS/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
#lanzaboote.nixosModules.lanzaboote
|
#lanzaboote.nixosModules.lanzaboote
|
||||||
|
disko.nixosModules.disko
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.sharedModules = [plasma-manager.homeManagerModules.plasma-manager];
|
home-manager.sharedModules = [plasma-manager.homeManagerModules.plasma-manager];
|
||||||
|
@ -118,6 +135,7 @@
|
||||||
# > Our main nixos configuration file <
|
# > Our main nixos configuration file <
|
||||||
./nixos/hosts/queen/configuration.nix
|
./nixos/hosts/queen/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
disko.nixosModules.disko
|
||||||
simple-nixos-mailserver.nixosModule
|
simple-nixos-mailserver.nixosModule
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -142,7 +160,7 @@
|
||||||
# make the module declared by the linger flake available to our config
|
# make the module declared by the linger flake available to our config
|
||||||
#linger.nixosModules."armv7l-linux".default
|
#linger.nixosModules."armv7l-linux".default
|
||||||
#pihole.nixosModules."armv7l-linux".default
|
#pihole.nixosModules."armv7l-linux".default
|
||||||
|
disko.nixosModules.disko
|
||||||
# > Our main nixos configuration file <
|
# > Our main nixos configuration file <
|
||||||
./nixos/hosts/wheatley/configuration.nix
|
./nixos/hosts/wheatley/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
|
|
||||||
../../desktop
|
../../desktop
|
||||||
|
|
||||||
|
#../../../disko/EDI
|
||||||
|
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue