style(nixfmt): formatting using nixfmt cli tools
This commit is contained in:
parent
b804520f4c
commit
fbe803b928
46 changed files with 2133 additions and 1700 deletions
187
hosts/global.nix
187
hosts/global.nix
|
|
@ -1,101 +1,106 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
documentation = {
|
||||
enable = true;
|
||||
man.enable = true;
|
||||
dev.enable = true;
|
||||
};
|
||||
documentation = {
|
||||
enable = true;
|
||||
man.enable = true;
|
||||
dev.enable = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Paris";
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
security.pam.services.swaylock = { };
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
extraLocaleSettings = {
|
||||
LC_ADDRESS = "fr_FR.UTF-8";
|
||||
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
||||
LC_MEASUREMENT = "fr_FR.UTF-8";
|
||||
LC_MONETARY = "fr_FR.UTF-8";
|
||||
LC_NAME = "fr_FR.UTF-8";
|
||||
LC_NUMERIC = "fr_FR.UTF-8";
|
||||
LC_PAPER = "fr_FR.UTF-8";
|
||||
LC_TELEPHONE = "fr_FR.UTF-8";
|
||||
LC_TIME = "fr_FR.UTF-8";
|
||||
};
|
||||
};
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
users = {
|
||||
raphael = {
|
||||
isNormalUser = true;
|
||||
description = "raphael";
|
||||
useDefaultShell = true;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"dialout"
|
||||
"plugdev"
|
||||
"wheel"
|
||||
"docker"
|
||||
"video"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
extraLocaleSettings = {
|
||||
LC_ADDRESS = "fr_FR.UTF-8";
|
||||
LC_IDENTIFICATION = "fr_FR.UTF-8";
|
||||
LC_MEASUREMENT = "fr_FR.UTF-8";
|
||||
LC_MONETARY = "fr_FR.UTF-8";
|
||||
LC_NAME = "fr_FR.UTF-8";
|
||||
LC_NUMERIC = "fr_FR.UTF-8";
|
||||
LC_PAPER = "fr_FR.UTF-8";
|
||||
LC_TELEPHONE = "fr_FR.UTF-8";
|
||||
LC_TIME = "fr_FR.UTF-8";
|
||||
};
|
||||
};
|
||||
users = {
|
||||
defaultUserShell = pkgs.zsh;
|
||||
users = {
|
||||
raphael = {
|
||||
isNormalUser = true;
|
||||
description = "raphael";
|
||||
useDefaultShell = true;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"dialout"
|
||||
"plugdev"
|
||||
"wheel"
|
||||
"docker"
|
||||
"video"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
home-manager
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.settings = {
|
||||
download-buffer-size = 1048576;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
nix.settings = {
|
||||
download-buffer-size = 1048576;
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
};
|
||||
programs = {
|
||||
zsh.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bat
|
||||
cairo
|
||||
dconf
|
||||
fastfetch
|
||||
git
|
||||
home-manager
|
||||
lego
|
||||
libjpeg
|
||||
libpng
|
||||
libuuid
|
||||
linux-manual
|
||||
man
|
||||
man-pages
|
||||
man-pages-posix
|
||||
networkmanager
|
||||
openssl
|
||||
pkg-config
|
||||
postgresql
|
||||
protonup
|
||||
python3
|
||||
python3Packages.pip
|
||||
qflipper
|
||||
ripgrep
|
||||
swaylock
|
||||
swaylock-fancy
|
||||
tmux
|
||||
unzip
|
||||
vim
|
||||
wget
|
||||
wl-clipboard
|
||||
xclip
|
||||
xdg-desktop-portal-hyprland
|
||||
xsel
|
||||
yarn
|
||||
zsh
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
bat
|
||||
cairo
|
||||
dconf
|
||||
fastfetch
|
||||
git
|
||||
home-manager
|
||||
lego
|
||||
libjpeg
|
||||
libpng
|
||||
libuuid
|
||||
linux-manual
|
||||
man
|
||||
man-pages
|
||||
man-pages-posix
|
||||
networkmanager
|
||||
openssl
|
||||
pkg-config
|
||||
postgresql
|
||||
protonup
|
||||
python3
|
||||
python3Packages.pip
|
||||
qflipper
|
||||
ripgrep
|
||||
swaylock
|
||||
swaylock-fancy
|
||||
tmux
|
||||
unzip
|
||||
vim
|
||||
wget
|
||||
wl-clipboard
|
||||
xclip
|
||||
xdg-desktop-portal-hyprland
|
||||
xsel
|
||||
yarn
|
||||
zsh
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue