forked from natto1784/dotfiles
Added NixOS configs
This commit is contained in:
35
stuff.nix
Normal file
35
stuff.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user