Alexandre fd230d9087
Some checks failed
Check config / build (push) Failing after 9m21s
Added the rest of importants modules to port
2026-06-23 19:47:43 +00:00

89 lines
1.7 KiB
Nix

{ self, inputs, ... }:
{
flake.nixosConfigurations.FW16 = inputs.nixpkgs.lib.nixosSystem {
modules = [
self.nixosModules.FW16Config
inputs.lanzaboote.nixosModules.lanzaboote
inputs.home-manager.nixosModules.default
];
};
flake.nixosModules.FW16Config = { config, pkgs, inputs, ...}: {
imports = [
self.nixosModules.FW16Hardware
self.nixosModules.amd
self.nixosModules.commonConfig
self.nixosModules.bootloader
self.nixosModules.niri
];
networking = {
hostName = "framework";
networkmanager = {
enable = true;
};
};
services = {
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse = {
enable = true;
};
};
};
# Todo -> Display server for all nixos machines (lightdm or smth else)
# User
users= {
users = {
alex = {
isNormalUser = true;
description = "Alexandre Delcamp--Enache";
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" "video" "render" ];
};
};
};
home-manager = {
useGlobalPkgs = true;
users = {
"alex" = self.homeModules.commonHomeConfig;
};
};
programs = {
hyprland = {
enable = true;
};
};
environment = {
systemPackages = with pkgs; [
playerctl
# Video Accel
libva
libva-utils
mesa
];
sessionVariables = {
NIXOS_OZONE_WL = "1";
LIBVA_DRIVER_NAME = "radeonsi";
};
};
system = {
stateVersion = "24.11";
};
# End of config
};
}