treewide: minor cleanups

This commit is contained in:
Anthony Rodriguez 2024-11-06 16:49:58 +01:00
parent 0e46a1e15d
commit c37edb347c
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
15 changed files with 19 additions and 28 deletions

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
inputs,
pkgs,
...
}: {
imports = [ imports = [
./browsers ./browsers
./media ./media

View file

@ -2,9 +2,7 @@
lib, lib,
pkgs, pkgs,
... ...
}: let }: {
inherit (lib) getExe;
in {
programs.helix = { programs.helix = {
enable = true; enable = true;
settings = { settings = {

View file

@ -1,3 +1,3 @@
_: { {
services.udiskie.enable = true; services.udiskie.enable = true;
} }

View file

@ -1,5 +1,4 @@
{ {
lib,
config, config,
inputs, inputs,
pkgs, pkgs,

View file

@ -1,4 +1,4 @@
_: { {
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
# package = inputs.wezterm.packages.${pkgs.system}.default; # package = inputs.wezterm.packages.${pkgs.system}.default;

View file

@ -1,4 +1,4 @@
_: { {
programs = { programs = {
direnv = { direnv = {
enable = true; enable = true;

View file

@ -1,4 +1,4 @@
_: { {
programs.zellij = { programs.zellij = {
enable = true; enable = true;
settings = { settings = {

View file

@ -1,4 +1,4 @@
_: { {
programs.starship = { programs.starship = {
enable = true; enable = true;
enableTransience = true; enableTransience = true;

View file

@ -1,4 +1,4 @@
_: { {
programs.zoxide = { programs.zoxide = {
enable = true; enable = true;
enableBashIntegration = false; enableBashIntegration = false;

View file

@ -1,8 +1,10 @@
{modulesPath, ...}: { {modulesPath, ...}: {
imports = [(modulesPath + "/profiles/qemu-guest.nix")]; imports = [(modulesPath + "/profiles/qemu-guest.nix")];
boot.loader.grub.device = "/dev/sda"; boot = {
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"]; loader.grub.device = "/dev/sda";
boot.initrd.kernelModules = ["nvme"]; initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
initrd.kernelModules = ["nvme"];
};
fileSystems."/" = { fileSystems."/" = {
device = "/dev/sda1"; device = "/dev/sda1";
fsType = "ext4"; fsType = "ext4";

View file

@ -1,4 +1,4 @@
_: { {
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {
programs = { programs = {
steam.enable = true; steam.enable = true;
gamemode.enable = true; gamemode.enable = true;

View file

@ -1,13 +1,9 @@
{ {pkgs, ...}: {
inputs,
pkgs,
...
}: {
imports = [ imports = [
./docker.nix ./docker.nix
./gnupg.nix ./gnupg.nix
./pipewire.nix ./pipewire.nix
./kmscon.nix ./kmscon.nix
]; ];
services.udev.packages = [pkgs.segger-jlink inputs.self.packages.${pkgs.system}.mcuxpresso.ide]; services.udev.packages = [pkgs.segger-jlink];
} }

View file

@ -1,4 +1,4 @@
_: { {
services.kanata = { services.kanata = {
enable = true; enable = true;
keyboards.default = { keyboards.default = {

View file

@ -1,4 +1,4 @@
_: { {
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
# rtkit is optional but recommended # rtkit is optional but recommended
security.rtkit.enable = true; security.rtkit.enable = true;