Archived
0
0
Fork 0

run nix fmt

This commit is contained in:
Daryl Ronningen 2023-01-01 23:09:38 -08:00
parent e3368738e7
commit 3790812dbe
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
15 changed files with 423 additions and 424 deletions

View file

@ -1,5 +1,3 @@
{...}: {...}: {
{
services.flatpak.enable = true; services.flatpak.enable = true;
} }

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
hardware.opengl.extraPackages = with pkgs; [ hardware.opengl.extraPackages = with pkgs; [
intel-compute-runtime intel-compute-runtime
mesa_drivers mesa_drivers

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
fonts = { fonts = {
enableDefaultFonts = true; enableDefaultFonts = true;
enableGhostscriptFonts = true; enableGhostscriptFonts = true;

View file

@ -1,6 +1,4 @@
{...}: {...}: {
{
services = { services = {
xserver = { xserver = {
desktopManager.gnome.enable = true; desktopManager.gnome.enable = true;

View file

@ -1,6 +1,4 @@
{ ... }: {...}: {
{
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
services.xserver = { services.xserver = {
enable = true; enable = true;
autorun = true; autorun = true;

View file

@ -1,5 +1,3 @@
{...}: {...}: {
{
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
} }

View file

@ -13,4 +13,3 @@
''; '';
}; };
} }

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
users.users.relms = { users.users.relms = {
isNormalUser = true; isNormalUser = true;
description = "Daryl Ronningen"; description = "Daryl Ronningen";

View file

@ -1,6 +1,4 @@
{pkgs, ...}: {pkgs, ...}: {
{
boot = { boot = {
loader = { loader = {
grub = { grub = {

View file

@ -1,6 +1,9 @@
{ config, pkgs, lib, ... }:
{ {
config,
pkgs,
lib,
...
}: {
networking.hostName = "skynet"; networking.hostName = "skynet";
services.fprintd.enable = true; services.fprintd.enable = true;

View file

@ -1,6 +1,10 @@
{ config, lib, pkgs, modulesPath, ... }:
{ {
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [(modulesPath + "/installer/scan/not-detected.nix")]; imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = { boot = {
@ -23,7 +27,6 @@
}; };
}; };
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -1,6 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
wsl = { wsl = {
enable = true; enable = true;
wslConf.automount.root = "/mnt"; wslConf.automount.root = "/mnt";

View file

@ -18,7 +18,16 @@
nixos-wsl.inputs.nixpkgs.follows = "nixpkgs"; nixos-wsl.inputs.nixpkgs.follows = "nixpkgs";
nixos-wsl.inputs.flake-utils.follows = "utils"; nixos-wsl.inputs.flake-utils.follows = "utils";
}; };
outputs = { self, nixpkgs, utils, home-manager, neovim, nur, nixos-wsl, ... }: let outputs = {
self,
nixpkgs,
utils,
home-manager,
neovim,
nur,
nixos-wsl,
...
}: let
modules = { modules = {
home = [ home = [
./users/relms/home.nix ./users/relms/home.nix
@ -83,5 +92,7 @@
modules = modules.home; modules = modules.home;
}; };
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
}; };
} }

View file

@ -1,6 +1,9 @@
{ lib, config, pkgs, ... }:
{ {
lib,
config,
pkgs,
...
}: {
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
home.username = "relms"; home.username = "relms";