mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 18:19:09 +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
|
inputs.guix-overlay.nixosModules.guix-binary
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.binfmt.emulatedSystems = [
|
||||||
|
"aarch64-linux"
|
||||||
|
"riscv64-linux"
|
||||||
|
];
|
||||||
|
|
||||||
# My custom configuration with my custom modules starts here.
|
# My custom configuration with my custom modules starts here.
|
||||||
profiles = {
|
profiles = {
|
||||||
agenix.enable = true;
|
agenix.enable = true;
|
||||||
@ -19,7 +24,6 @@
|
|||||||
hardware.enable = true;
|
hardware.enable = true;
|
||||||
cleanup.enable = true;
|
cleanup.enable = true;
|
||||||
autoUpgrade.enable = true;
|
autoUpgrade.enable = true;
|
||||||
wine.enable = true;
|
|
||||||
};
|
};
|
||||||
dev = {
|
dev = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -32,6 +32,7 @@ in {
|
|||||||
})
|
})
|
||||||
|
|
||||||
(lib.mkIf cfg.shell.enable {
|
(lib.mkIf cfg.shell.enable {
|
||||||
|
programs.atuin.enable = true;
|
||||||
programs.direnv = {
|
programs.direnv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
|
@ -54,6 +54,11 @@ in {
|
|||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
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.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
@ -33,12 +33,21 @@ in {
|
|||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
# My specific usual stuff.
|
# My specific usual stuff.
|
||||||
programs.git = {
|
programs.git = let email = "foo.dogsquared@gmail.com"; in {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.gitFull;
|
package = pkgs.gitFull;
|
||||||
lfs.enable = true;
|
lfs.enable = true;
|
||||||
userName = "Gabriel Arazas";
|
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!
|
# My music player setup, completely configured with Nix!
|
||||||
@ -56,7 +65,7 @@ in {
|
|||||||
mopidy-youtube
|
mopidy-youtube
|
||||||
];
|
];
|
||||||
|
|
||||||
configuration = {
|
settings = {
|
||||||
http = {
|
http = {
|
||||||
hostname = "0.0.0.0";
|
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 = {
|
xdg.userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user