feat: big refactor
This commit is contained in:
parent
2c09c21833
commit
ebedec9768
159 changed files with 1927 additions and 2222 deletions
89
modules/core/default.nix
Normal file
89
modules/core/default.nix
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
{ pkgs, ... }@inputs:
|
||||
{
|
||||
imports = [
|
||||
./applications.nix
|
||||
./audio.nix
|
||||
./bluetooth.nix
|
||||
./keyd.nix
|
||||
./network.nix
|
||||
./nvidia.nix
|
||||
./power.nix
|
||||
./printing.nix
|
||||
./profiling.nix
|
||||
./security.nix
|
||||
./shell.nix
|
||||
./virtualisation.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
(self: super: {
|
||||
unstable = import inputs.nixpkgs-unstable { system = super.system; };
|
||||
mfcl3750cdwlpr = (super.callPackage ../../overlays/mfcl3750cdw.nix { }).driver;
|
||||
mfcl3750cdwcupswrapper = (super.callPackage ../../overlays/mfcl3750cdw.nix { }).cupswrapper;
|
||||
pppdf = (super.python3Packages.callPackage ../../overlays/pppdf { });
|
||||
iglesia-light = (super.callPackage ../../overlays/fonts/iglesia-light.nix { });
|
||||
})
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
# provide libraries for non-nix binaries
|
||||
# programs.nix-ld = {
|
||||
# enable = true;
|
||||
# libraries = [
|
||||
# # glibc
|
||||
# # libcxx
|
||||
# # libllvm
|
||||
# # ncurses
|
||||
# ];
|
||||
# };
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
i18n = {
|
||||
defaultLocale = "en_US.UTF-8";
|
||||
supportedLocales = [
|
||||
"en_US.UTF-8/UTF-8"
|
||||
"de_DE.UTF-8/UTF-8"
|
||||
];
|
||||
};
|
||||
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
keyMap = "us";
|
||||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
services.dbus = {
|
||||
enable = true;
|
||||
packages = with pkgs; [
|
||||
gcr # gnome crypto services (daemon and tools)
|
||||
dconf
|
||||
];
|
||||
};
|
||||
|
||||
programs.ccache = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue