set up something working (hopefully)
This commit is contained in:
parent
4d919a6a11
commit
a21715b71a
21 changed files with 567 additions and 10 deletions
12
modules/vali/core/boot/boot.nix
Normal file
12
modules/vali/core/boot/boot.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ inputs, outputs, profile-config, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
grub = {
|
||||
enable = true;
|
||||
efiSupport = true;
|
||||
device = "nodev";
|
||||
};
|
||||
};
|
||||
}
|
9
modules/vali/default.nix
Normal file
9
modules/vali/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, lib, config, ...}:
|
||||
{
|
||||
imports = [
|
||||
./core/boot/boot.nix
|
||||
./graphics/default.nix
|
||||
#./web/default.nix
|
||||
#./terminal/default.nix
|
||||
];
|
||||
}
|
6
modules/vali/graphics/default.nix
Normal file
6
modules/vali/graphics/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
import = [
|
||||
./wms/i3wm.nix
|
||||
];
|
||||
}
|
28
modules/vali/graphics/wms/i3wm.nix
Normal file
28
modules/vali/graphics/wms/i3wm.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{ pkgs, lib, config, ...}
|
||||
{
|
||||
options = {
|
||||
i3.enable = lib.mkEnableOption "enable i3wm";
|
||||
};
|
||||
config = lib.mkIf config.i3wm.enable {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
xfce = {
|
||||
enable = true;
|
||||
noDesktop = true;
|
||||
nableXfwm = false;
|
||||
};
|
||||
};
|
||||
displayManager.defaultSession="xfce+i3";
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
dmenu
|
||||
i3status
|
||||
i3lock
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
0
modules/vali/terminal/st.nix
Normal file
0
modules/vali/terminal/st.nix
Normal file
0
modules/vali/terminal/starship.nix
Normal file
0
modules/vali/terminal/starship.nix
Normal file
0
modules/vali/terminal/zsh.nix
Normal file
0
modules/vali/terminal/zsh.nix
Normal file
0
modules/vali/web/schizofox.nix
Normal file
0
modules/vali/web/schizofox.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue