YVZDXEX34EVRGBLOY4LIDKPFZVMTINZQ5UCAJVDMYSBWIDFPNBQQC
TXA66OLAOYNGEDRBC4SKWDZPLBZXUU7WHDIAYN4TXGEJR6WIJOIQC
H3GYCX27WTONFBIJN7UIV26LJSCENQJC4XXIOEYINXJLEDGKYJJQC
JOK7DA5XBOK2MIVR7ORTSAEMQ6U5642I537IGUYBX67DPFF5QJ3QC
F26DJCZ7RLGRDZSYACB6MGMNTW7L5FE332EBYEIJTBRK7QJ6ZIYAC
NNUJU4U7H6QBAKSVR2N5NGQDODJFAJ6UWFU6N656WU2ORRG7RQRQC
EVVP46IQ4U6JEDWVJ4D6KT77ABOMY7XKIO2ITX4DHJDRTGTYCUTQC
JHOTQEAZM26AZEYLC3IZVPCZZMXCL7K6V2UEGE3ABGO4GL67AT6QC
environment.systemPackages = with pkgs; [ vim kitty.terminfo ];
environment.systemPackages = with pkgs; [
vim
foot.terminfo
alacritty.terminfo
];
mailserver = {
enable = true;
fqdn = "mail.nrab.lol";
domains = [ "nrab.lol" ];
# nix run nixpkgs.apacheHttpd -c htpasswd -nbB "" "super secret password" | cut -d: -f2
loginAccounts = {
"1337@nrab.lol" = {
hashedPasswordFile = pkgs.copyPathToStore ../assets/leetpassword;
};
};
certificateScheme = 3;
};
security.acme = {
acceptTerms = true;
defaults.email = "nikodem@rabulinski.com";
};
rustToolchain = pkgs.fenix.complete.withComponents [
"cargo"
"clippy"
"llvm-tools-preview"
"rust-analyzer-preview"
"rust-src"
"rust-std"
"rustc"
"rustfmt"
];
nixpkgs.overlays = lib.optional (fenix != null) fenix.overlay;
target.x86_64-unknown-linux-gnu = {
# linker = "clang";
# rustflags = [ "-C" "link-arg=-fuse-ld=${pkgs.mold}/bin/mold" ];
};
programs.helix = {
};
}
languages = [
{
name = "rust";
}
];
language-server = { command = "${rustToolchain}/bin/rust-analyzer"; };
};
home.packages = with pkgs; [ bintools clang lldb rustToolchain mold ];
home.file.".cargo/config.toml".source = (pkgs.formats.toml { }).generate "cargo-config" {
in
{
# TODO: Only use mold on x86_64-linux.
{ pkgs
, lib
, fenix ? null
, ...
}:
let
regular0 = "151515"; # Black
regular1 = "B66467"; # Red
regular2 = "8C977D"; # Green
regular3 = "D9BC8C"; # Yello
regular4 = "8DA3B9"; # Blue
regular5 = "A988B0"; # Magenta
regular6 = "8AA6A2"; # Cyan
regular7 = "E8E3E3"; # White
regular0 = dark.black; # Black
regular1 = dark.red; # Red
regular2 = dark.green; # Green
regular3 = dark.yellow; # Yellow
regular4 = dark.blue; # Blue
regular5 = dark.magenta; # Magenta
regular6 = dark.cyan; # Cyan
regular7 = dark.white; # White
bright0 = "424242"; # Black
bright1 = "B66467"; # Red
bright2 = "8C977D"; # Green
bright3 = "D9BC8C"; # Yello
bright4 = "8DA3B9"; # Blue
bright5 = "A988B0"; # Magenta
bright6 = "8AA6A2"; # Cyan
bright7 = "E8E3E3"; # White
bright0 = bright.black; # Black
bright1 = bright.red; # Red
bright2 = bright.green; # Green
bright3 = bright.yellow; # Yellow
bright4 = bright.blue; # Blue
bright5 = bright.magenta; # Magenta
bright6 = bright.cyan; # Cyan
bright7 = bright.white; # White
modules = [
./nixos/virtualBox.nix
({ ... }: {
nixpkgs.overlays = [ fenix.overlay ];
})
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.${user} = hmConfig {
rust = true;
sway = true;
};
}
];
};
# modules = [
# ./nixos/virtualBox.nix
# home-manager.nixosModules.home-manager
# ./nixos/wrappedForGpg.nix
# {
# nixpkgs.overlays = [ fenix.overlay ];
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
# home-manager.users.${user} = hmConfig {
# rust = true;
# sway = true;
# };
# }
# ];
# };
"blobs": {
"flake": false,
"locked": {
"lastModified": 1604995301,
"narHash": "sha256-wcLzgLec6SGJA8fx1OEN1yV/Py5b+U5iyYpksUY/yLw=",
"owner": "simple-nixos-mailserver",
"repo": "blobs",
"rev": "2cccdf1ca48316f2cfd1c9a0017e8de5a7156265",
"type": "gitlab"
},
"original": {
"owner": "simple-nixos-mailserver",
"repo": "blobs",
"type": "gitlab"
}
},
}
},
"mailserver": {
"inputs": {
"blobs": "blobs",
"nixpkgs": [
"nixpkgs"
],
"nixpkgs-22_05": "nixpkgs-22_05",
"utils": "utils_3"
},
"locked": {
"lastModified": 1658267644,
"narHash": "sha256-NJRe1rnlF112eZwxNASlRL8/ghwD8g+lpHIYRkWQxC8=",
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"rev": "004c229ca44c069d93c92abf67ff1619fb508c6a",
"type": "gitlab"
},
"original": {
"owner": "simple-nixos-mailserver",
"repo": "nixos-mailserver",
"type": "gitlab"
"nixpkgs-22_05": {
"locked": {
"lastModified": 1654936503,
"narHash": "sha256-soKzdhI4jTHv/rSbh89RdlcJmrPgH8oMb/PLqiqIYVQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dab6df51387c3878cdea09f43589a15729cae9f4",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-22.05",
"type": "indirect"
}
},
assets
.direnv