nixfmt...

This commit is contained in:
2026-03-11 19:30:20 +02:00
parent 13a03b36e0
commit a91f3b318a
3 changed files with 33 additions and 22 deletions

View File

@@ -5,14 +5,14 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = imports = [
[ # Include the results of the hardware scan. # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./packages.nix ./packages.nix
./emacs.nix ./emacs.nix
./laptop.nix ./laptop.nix
./dev-pkgs.nix ./dev-pkgs.nix
]; ];
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
@@ -29,9 +29,9 @@
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
nix.gc = { nix.gc = {
automatic = true; automatic = true;
dates = "daily"; # or "daily" dates = "daily"; # or "daily"
options = "--delete-older-than 2"; options = "--delete-older-than 2";
}; };
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@@ -57,8 +57,6 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
@@ -79,7 +77,10 @@
users.users.linly = { users.users.linly = {
isNormalUser = true; isNormalUser = true;
description = "Aly Sewelam"; description = "Aly Sewelam";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [
"networkmanager"
"wheel"
];
}; };
# Install firefox. # Install firefox.

View File

@@ -1,10 +1,15 @@
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dunst dunst
flameshot flameshot
wezterm wezterm
rofi rofi
playerctl playerctl

View File

@@ -1,10 +1,15 @@
{ config, lib, pkgs, ... }: {
config,
lib,
pkgs,
...
}:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
zathura zathura
wezterm wezterm
pwvucontrol pwvucontrol
playerctl playerctl
]; ];
} }