more work, start adding basic paths and files where i see fit
This commit is contained in:
parent
149918fdbc
commit
b43b8f0464
17 changed files with 273 additions and 0 deletions
14
base/fonts.nix
Normal file
14
base/fonts.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}:{
|
||||
fonts.packages = with pkgs; [
|
||||
font-awesome
|
||||
jetbrains-mono
|
||||
nerd-fonts.iosevka
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
source-han-sans
|
||||
source-han-sans-japanese
|
||||
source-han-serif-japanese
|
||||
comfortaa
|
||||
];
|
||||
};
|
||||
19
base/greetd.nix
Normal file
19
base/greetd.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{pkgs, ...}:{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
restart = true;
|
||||
settings.default-session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd niri-session";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
systemd.services.greetd.serviceConfig = {
|
||||
Type = "idle";
|
||||
StandardInput = "tty";
|
||||
StandardOutput = "tty";
|
||||
StandardError = "journal";
|
||||
TTYReset = "true";
|
||||
TTYHangup = "true";
|
||||
TTYVTDisallocate = "true;"
|
||||
};
|
||||
}
|
||||
43
base/overrides.nix
Normal file
43
base/overrides.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{pkgs, ...}:{
|
||||
environment.systemPackages = with pkgs; [
|
||||
(envision.overrideAttrs {
|
||||
buildInputs = [pkgs.mesa];
|
||||
})
|
||||
(lutris.override {
|
||||
extraPkgs = pkgs: [
|
||||
wineWowPackages.waylandFull
|
||||
gamescope
|
||||
antimicrox
|
||||
sc-controller
|
||||
winetricks
|
||||
|
||||
];
|
||||
|
||||
extraLibraries = pkgs: [
|
||||
nspr
|
||||
xorg.libXdamage
|
||||
xorg.libXfixes
|
||||
openal
|
||||
gnutls
|
||||
libidn2
|
||||
libssh2
|
||||
libpsl
|
||||
brotli
|
||||
pkgsi686Linux.expat
|
||||
pkgsi686Linux.openal
|
||||
pkgsi686Linux.nvidia_cg_toolkit
|
||||
pkgsi686Linux.tcp_wrappers
|
||||
pkgsi686Linux.libasyncns
|
||||
pkgsi686Linux.libapparmor
|
||||
pkgsi686Linux.xorg.libXrandr
|
||||
pkgsi686Linux.xorg.libxcb
|
||||
pkgsi686Linux.xorg.libXi
|
||||
pkgsi686Linux.libsndfile
|
||||
pkgsi686Linux.libmpg123
|
||||
# gnome2.GConf
|
||||
icu
|
||||
openldap
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
10
base/ssh.nix
Normal file
10
base/ssh.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
networking.firewall.allowedTCPPorts = [22];
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
passwordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
16
base/substituters.nix
Normal file
16
base/substituters.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{inputs, config, pkgs, lib, ...}; {
|
||||
|
||||
nix.settings.substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://nixpkgs-wayland.cachix.org"
|
||||
"https://cache.garnix.io"
|
||||
"https://niri.cachix.org"
|
||||
];
|
||||
|
||||
nix-settings.trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
"niri.cachix.org-1:Wv0OmO7PsuocRKzfDoJ3mulSl7Z6oezYhGhR+3W2964="
|
||||
];
|
||||
};
|
||||
1
base/todo
Normal file
1
base/todo
Normal file
|
|
@ -0,0 +1 @@
|
|||
drop config files in
|
||||
Loading…
Add table
Add a link
Reference in a new issue