mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
add nixos-generator
This commit is contained in:
parent
7a987a1fc3
commit
fea6ae70a4
4 changed files with 92 additions and 0 deletions
54
systems/installer/default.nix
Normal file
54
systems/installer/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
jopejoe1 = {
|
||||
audio = {
|
||||
enable = true;
|
||||
};
|
||||
local.enable = true;
|
||||
nix.enable = true;
|
||||
plasma6.enable = true;
|
||||
overlays.enable = true;
|
||||
jopejoe1.enable = true;
|
||||
root.enable = true;
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "installer";
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
hostPlatform = {
|
||||
system = "x86_64-linux";
|
||||
config = "x86_64-unknown-linux-gnu";
|
||||
};
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Calamares for graphical installation
|
||||
libsForQt5.kpmcore
|
||||
calamares-nixos
|
||||
(pkgs.makeAutostartItem { name = "io.calamares.calamares"; package = pkgs.calamares-nixos; })
|
||||
calamares-nixos-extensions
|
||||
# Get list of locales
|
||||
glibcLocales
|
||||
# Theming
|
||||
catppuccin-kvantum
|
||||
catppuccin-kde
|
||||
catppuccin-gtk
|
||||
tela-icon-theme
|
||||
];
|
||||
|
||||
i18n.supportedLocales = [ "all" ];
|
||||
|
||||
programs = {
|
||||
xwayland.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
};
|
||||
console = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue