This commit is contained in:
Aleksandr 2024-10-06 20:54:07 +03:00
parent 689f5dea6d
commit 7dd47b6238
16 changed files with 284 additions and 38 deletions

View file

@ -10,6 +10,7 @@
./firefox.nix
./home
./vpn
./rust.nix
./masters
];

2
m/home/helix/nigger.toml Normal file
View file

@ -0,0 +1,2 @@
[a]
b = 10

View file

@ -9,6 +9,17 @@
home.stateVersion = "24.05";
home.file = {
".terraformrc".text = ''
provider_installation {
network_mirror {
url = "https://terraform-mirror.yandexcloud.net/"
include = ["registry.terraform.io/*/*"]
}
direct {
exclude = ["registry.terraform.io/*/*"]
}
}
'';
".cargo/config.toml" = {
text = ''
[net]

View file

@ -18,6 +18,7 @@ in
dunst
waybar
wofi
hyprshot
];
environment.sessionVariables.NIXOS_OZONE_WL = "1";

View file

@ -2,4 +2,6 @@
imports = [
./nero.nix
];
users.mutableUsers = false;
}

View file

@ -25,7 +25,7 @@ in
users.users.nero = {
isNormalUser = true;
uid = 1337;
uid = 1000;
hashedPasswordFile = config.sops.secrets."users/nero/passwordHash".path;
extraGroups = [ "networkmanager" "docker" "wheel" ];

27
m/rust.nix Normal file
View file

@ -0,0 +1,27 @@
{ pkgs, config, inputs, lib, ... }:
let
rust = config.maid.rust;
in
{
options.maid.rust = {
enable = lib.mkEnableOption "rust toolchain";
};
config = lib.mkIf rust.enable {
nixpkgs.overlays = [ inputs.fenix.overlays.default ];
environment.systemPackages = with pkgs; [
(fenix.complete.withComponents [
"rustc"
"cargo"
"rustfmt"
"rust-src"
"rust-analyzer"
"clippy"
"miri"
])
sccache
cargo-edit
];
};
}

3
m/signal.nix Normal file
View file

@ -0,0 +1,3 @@
{
}

View file

@ -1,9 +1,11 @@
{ lib, config, ... }:
{ lib, config, inputs, ... }:
let
types = lib.types;
sys = config.maid.sys;
in
{
imports = [ inputs.lix-module.nixosModules.default ];
options.maid.sys = {
enable = lib.mkEnableOption "whole maid system";
tz = lib.mkOption {