chore: reindent + install pi.dev
This commit is contained in:
@@ -59,9 +59,15 @@
|
||||
variant = "bepo";
|
||||
};
|
||||
|
||||
windowManager = { i3 = { enable = true; }; };
|
||||
windowManager = {
|
||||
i3 = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
services.displayManager = {
|
||||
defaultSession = "none+i3";
|
||||
};
|
||||
services.displayManager = { defaultSession = "none+i3"; };
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "fr";
|
||||
@@ -70,8 +76,14 @@
|
||||
users.users.pierre = {
|
||||
isNormalUser = true;
|
||||
description = "Pierre";
|
||||
extraGroups =
|
||||
[ "networkmanager" "wheel" "audio" "docker" "video" "lpadmin" ];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"audio"
|
||||
"docker"
|
||||
"video"
|
||||
"lpadmin"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
packages = with pkgs; [ ];
|
||||
};
|
||||
@@ -103,14 +115,16 @@
|
||||
# enable = true;
|
||||
# enableSSHSupport = true;
|
||||
# };
|
||||
programs.zsh.enable =
|
||||
true; # see https://github.com/NixOS/nixpkgs/issues/20548#issuecomment-261965667
|
||||
programs.zsh.enable = true; # see https://github.com/NixOS/nixpkgs/issues/20548#issuecomment-261965667
|
||||
hardware.acpilight.enable = true;
|
||||
hardware.i2c.enable = true;
|
||||
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
libraries = with pkgs; [ fnm stdenv.cc.cc.lib ];
|
||||
libraries = with pkgs; [
|
||||
fnm
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
};
|
||||
|
||||
# Printing
|
||||
@@ -139,15 +153,12 @@
|
||||
services.nscd.enable = true;
|
||||
services.tlp.enable = true;
|
||||
services.upower.enable = true; # keyboard backlight
|
||||
services.gnome.at-spi2-core.enable =
|
||||
true; # see https://github.com/NixOS/nixpkgs/pull/49636/files
|
||||
services.gnome.gnome-keyring.enable =
|
||||
true; # see https://nixos.wiki/wiki/Visual_Studio_Code#Error_after_Sign_On
|
||||
services.gnome.at-spi2-core.enable = true; # see https://github.com/NixOS/nixpkgs/pull/49636/files
|
||||
services.gnome.gnome-keyring.enable = true; # see https://nixos.wiki/wiki/Visual_Studio_Code#Error_after_Sign_On
|
||||
services.blueman.enable = true;
|
||||
services.udisks2.enable = true;
|
||||
services.resolved.enable = true;
|
||||
services.gvfs.enable =
|
||||
true; # to view MTP devices in file manager - https://www.perplexity.ai/search/how-to-browse-files-from-bus-0-QWBoYG1gRLu3uMRqFSzw9A
|
||||
services.gvfs.enable = true; # to view MTP devices in file manager - https://www.perplexity.ai/search/how-to-browse-files-from-bus-0-QWBoYG1gRLu3uMRqFSzw9A
|
||||
|
||||
# Prevent coredump issues with Antigravity - https://www.perplexity.ai/search/systemd-coredump-high-cpu-on-n-LUnRQViaRuiDn1LR06hU8w#2
|
||||
systemd.coredump = {
|
||||
@@ -186,7 +197,16 @@
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
'';
|
||||
nix.settings.extra-experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.settings.extra-experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
# Cache binaire de https://github.com/lukasl-dev/pi.nix (cf. programs/pi.nix)
|
||||
nix.settings.extra-substituters = [ "https://pi.cachix.org" ];
|
||||
nix.settings.extra-trusted-public-keys = [
|
||||
"pi.cachix.org-1:lGeoGJaZ5ZDabuRzkcD5EBTNnDM4HJ1vqeOxlWk1Flk="
|
||||
];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
||||
Reference in New Issue
Block a user