update profiles and user configs

This commit is contained in:
Gabriel Arazas 2022-05-20 14:47:09 +08:00
parent 8448f511d8
commit d586fba900
4 changed files with 38 additions and 4 deletions

View File

@ -8,6 +8,11 @@
inputs.guix-overlay.nixosModules.guix-binary
];
boot.binfmt.emulatedSystems = [
"aarch64-linux"
"riscv64-linux"
];
# My custom configuration with my custom modules starts here.
profiles = {
agenix.enable = true;
@ -19,7 +24,6 @@
hardware.enable = true;
cleanup.enable = true;
autoUpgrade.enable = true;
wine.enable = true;
};
dev = {
enable = true;

View File

@ -32,6 +32,7 @@ in {
})
(lib.mkIf cfg.shell.enable {
programs.atuin.enable = true;
programs.direnv = {
enable = true;
nix-direnv.enable = true;

View File

@ -54,6 +54,11 @@ in {
security.rtkit.enable = true;
services.pipewire = {
enable = true;
# This is enabled by default but I want to explicit since
# this is my preferred way of managing anyways.
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;

View File

@ -33,12 +33,21 @@ in {
fonts.fontconfig.enable = true;
# My specific usual stuff.
programs.git = {
programs.git = let email = "foo.dogsquared@gmail.com"; in {
enable = true;
package = pkgs.gitFull;
lfs.enable = true;
userName = "Gabriel Arazas";
userEmail = "foo.dogsquared@gmail.com";
userEmail = email;
extraConfig = {
# This is taken from the official Git book, for future references.
sendemail = {
smtpserver = "smtp.gmail.com";
smtpencryption = "tls";
smtpserverport = 587;
smtpuser = email;
};
};
};
# My music player setup, completely configured with Nix!
@ -56,7 +65,7 @@ in {
mopidy-youtube
];
configuration = {
settings = {
http = {
hostname = "0.0.0.0";
};
@ -182,6 +191,21 @@ in {
];
};
programs.irssi = {
enable = true;
networks.liberachat = {
nick = "foo-dogsquared";
server = {
address = "irc.libera.chat";
port = 6697;
};
channels = {
nixos = { };
guix = { };
};
};
};
xdg.userDirs = {
enable = true;
createDirectories = true;