Initial commit

This commit is contained in:
Artyom Belousov 2026-01-13 15:34:28 +03:00 committed by Артём Белоусов
commit b79d352847
37 changed files with 2191 additions and 0 deletions

View file

@ -0,0 +1,60 @@
{
pkgs,
...
}:
{
imports = [
./disko-config.nix
./hardware-configuration.nix
];
custom.desktop.enable = true;
services = {
desktopManager.plasma6.enable = true;
printing = {
enable = true;
drivers = with pkgs; [ hplipWithPlugin ];
};
};
home-manager.users.flygrounder = {
custom = {
catppuccin.enable = true;
cli.enable = true;
gui.enable = true;
hyprland.enable = true;
neovim.enable = true;
waybar.enable = true;
};
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-1, 2560x1440@180.00Hz, 0x0, 1"
];
exec-once = [
"${pkgs.kdePackages.kwallet-pam}/libexec/pam_kwallet_init"
];
};
};
users.users = {
dmitry = {
isNormalUser = true;
description = "Дмитрий";
extraGroups = [ "networkmanager" ];
packages = with pkgs; [
brave
blender
libreoffice
];
};
};
security.pam.services = {
greetd.kwallet = {
enable = true;
package = pkgs.kdePackages.kwallet-pam;
forceRun = true;
};
};
}

View file

@ -0,0 +1,33 @@
{
disko.devices = {
disk = {
main = {
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "gpt";
partitions = {
ESP = {
type = "EF00";
size = "1G";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}

View file

@ -0,0 +1,18 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}