Refactoring config preparing for server
This commit is contained in:
parent
2bffc8d711
commit
6992836cfe
18 changed files with 165 additions and 10 deletions
39
hosts/piaf/default.nix
Normal file
39
hosts/piaf/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ nix-flatpak, nixos-hardware, disko, agenix, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
# Hosts
|
||||
./hardware-configuration.nix
|
||||
./hardware.nix
|
||||
./disko-config.nix
|
||||
|
||||
../../users/lyes
|
||||
../../users/lyes/desktop
|
||||
|
||||
../../modules
|
||||
../../modules/desktop
|
||||
../../modules/desktop/gaming
|
||||
../../modules/desktop/gnome
|
||||
../../modules/desktop/sway
|
||||
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
nixos-hardware.nixosModules.framework-16-7040-amd
|
||||
disko.nixosModules.disko
|
||||
agenix.nixosModules.default
|
||||
];
|
||||
|
||||
# Networking
|
||||
networking = {
|
||||
hostName = "piaf";
|
||||
hostId = "ed183b8f";
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "22.11"; # Did you read the comment?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue