fixes
This commit is contained in:
parent
689f5dea6d
commit
7dd47b6238
16 changed files with 284 additions and 38 deletions
|
@ -10,6 +10,7 @@
|
|||
./firefox.nix
|
||||
./home
|
||||
./vpn
|
||||
./rust.nix
|
||||
|
||||
./masters
|
||||
];
|
||||
|
|
2
m/home/helix/nigger.toml
Normal file
2
m/home/helix/nigger.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[a]
|
||||
b = 10
|
|
@ -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]
|
||||
|
|
|
@ -18,6 +18,7 @@ in
|
|||
dunst
|
||||
waybar
|
||||
wofi
|
||||
hyprshot
|
||||
];
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
|
|
|
@ -2,4 +2,6 @@
|
|||
imports = [
|
||||
./nero.nix
|
||||
];
|
||||
|
||||
users.mutableUsers = false;
|
||||
}
|
||||
|
|
|
@ -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
27
m/rust.nix
Normal 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
3
m/signal.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue