1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00
This commit is contained in:
andrey_varnavskiy
2024-12-16 06:08:50 +05:00
parent f0a38dec70
commit d8f464f9bc
3 changed files with 0 additions and 118 deletions

View File

@@ -1,15 +0,0 @@
{ stateVersion, hostname, ... }:
{
imports =
[
./hardware-configuration.nix
./packages.nix
./modules
];
networking.hostName = hostname;
system.stateVersion = stateVersion;
}

View File

@@ -1,39 +0,0 @@
# 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" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/69019f25-749c-4480-bbfc-72eef4c49313";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/12CE-A600";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp4s0f4u2.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -1,64 +0,0 @@
{ pkgs, ... }: {
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
# Packages in each category are sorted alphabetically
# Desktop apps
chromium
imv
mpv
obs-studio
obsidian
teams-for-linux
telegram-desktop
vesktop
# CLI utils
bottom
brightnessctl
cliphist
ffmpeg
git-graph
grimblast
htop
microfetch
playerctl
ranger
ripgrep
showmethekey
silicon
unzip
wget
wl-clipboard
wtype
yt-dlp
zip
# Coding stuff
nodejs
python311
# WM stuff
libsForQt5.xwaylandvideobridge
libnotify
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
# Other
bemoji
home-manager
];
# Moved to home-manager/modules/stylix.nix
# fonts.packages = with pkgs; [
# jetbrains-mono
# noto-fonts
# noto-fonts-emoji
# twemoji-color-font
# font-awesome
# powerline-fonts
# powerline-symbols
# (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; })
# ];
}