mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
update profiles and user configs
This commit is contained in:
parent
8448f511d8
commit
d586fba900
@ -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;
|
||||
|
@ -32,6 +32,7 @@ in {
|
||||
})
|
||||
|
||||
(lib.mkIf cfg.shell.enable {
|
||||
programs.atuin.enable = true;
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user