mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 18:23:54 -05:00
67 lines
1.3 KiB
Nix
67 lines
1.3 KiB
Nix
|
# Framework Laptop 13 with AMD Ryzen 7640U, 32GB RAM, 1TB SSD.
|
||
|
{
|
||
|
inputs,
|
||
|
config,
|
||
|
pkgs,
|
||
|
lib,
|
||
|
...
|
||
|
}: {
|
||
|
imports = [
|
||
|
./hardware-configuration.nix # Include the results of the hardware scan.
|
||
|
./home.nix
|
||
|
./disko.nix
|
||
|
];
|
||
|
|
||
|
boot = {
|
||
|
# Bootloader.
|
||
|
loader.systemd-boot.enable = true;
|
||
|
loader.efi.canTouchEfiVariables = true;
|
||
|
|
||
|
# Use latest Linux kernel.
|
||
|
kernelPackages = pkgs.linuxPackages_latest;
|
||
|
};
|
||
|
|
||
|
networking.hostName = "mossdeep"; # Define your hostname.
|
||
|
|
||
|
services = {
|
||
|
fwupd.enable = true;
|
||
|
};
|
||
|
|
||
|
alyraffauf = {
|
||
|
system = {
|
||
|
plymouth.enable = true;
|
||
|
zramSwap = {enable = true;};
|
||
|
};
|
||
|
user = {
|
||
|
aly.enable = true;
|
||
|
dustin.enable = false;
|
||
|
};
|
||
|
desktop = {
|
||
|
enable = true;
|
||
|
hyprland.enable = true;
|
||
|
};
|
||
|
apps = {
|
||
|
steam.enable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
jovian = {
|
||
|
steam = {
|
||
|
user = "aly";
|
||
|
enable = true;
|
||
|
autoStart = true;
|
||
|
desktopSession = "hyprland";
|
||
|
};
|
||
|
decky-loader = {
|
||
|
user = "aly";
|
||
|
enable = true;
|
||
|
};
|
||
|
devices.steamdeck.enable = true;
|
||
|
steamos.useSteamOSConfig = true;
|
||
|
};
|
||
|
|
||
|
users.users.aly.hashedPassword = "$y$j9T$koxhEzkA4pYLsyIqZBTWM0$N8VW.JTM.HZZgNm7XgTxTXRzvYd7veA7TojG0gKOzO2";
|
||
|
|
||
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||
|
}
|