Alexandre 1fb2bebc88
All checks were successful
Check config / build (push) Successful in 9m43s
Started dentritic pattern
2026-06-20 00:15:16 +02:00

97 lines
1.8 KiB
Nix

{ self, inputs, ... }:
{
flake.nixosConfigurations.FW16 = inputs.nixpkgs.lib.nixosSystem {
modules = [
self.nixosModules.FW16Config
inputs.lanzaboote.nixosModules.lanzaboote
];
};
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;
};
};
};
# Flatpak
#services = {
# flatpak = {
# 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" ];
};
};
};
programs = {
hyprland = {
enable = true;
};
zsh = {
enable = true;
autosuggestions = {
enable = true;
};
};
};
environment = {
systemPackages = with pkgs; [
playerctl
# Video Accel
libva
libva-utils
mesa
];
sessionVariables = {
NIXOS_OZONE_WL = "1";
LIBVA_DRIVER_NAME = "radeonsi";
};
pathsToLink = [ "/share/zsh" ];
};
system = {
stateVersion = "24.11";
};
# End of config
};
}