Added NixOS configs

This commit is contained in:
2021-03-31 05:41:15 +05:30
commit 2680d535b5
21 changed files with 1902 additions and 0 deletions

35
stuff.nix Normal file
View File

@@ -0,0 +1,35 @@
{lib, config, pkgs, ... }:
{
imports = [
./Stuff/sound.nix
./Stuff/fonts.nix
./Stuff/users.nix
./Stuff/services.nix
];
time.timeZone = "Asia/Kolkata";
environment = {
sessionVariables = {
QT_QPA_PLATFORMTHEME = "gtk3";
QT_X11_NO_MITSHM="1";
};
};
security={
sudo.enable = false;
doas = {
enable = true;
extraRules = [
{
users = [ "otaku619" ];
keepEnv = true;
persist = true;
}
];
};
};
nix.gc = {
automatic = true;
dates = "20:15";
};
nixpkgs.config.allowUnfree = true;
programs.fish.enable = true;
}