initial setup
This commit is contained in:
parent
06f6f5f4a6
commit
a9207d6844
8 changed files with 58 additions and 82 deletions
|
@ -1,8 +1,7 @@
|
|||
# common container config
|
||||
{ lib, ... }: {
|
||||
imports = [
|
||||
# ../../../../common/modules
|
||||
# home-manager.nixosModules.home-manager # TODO: I don't like this
|
||||
../../../../common
|
||||
];
|
||||
# Workaround for bug https://github.com/NixOS/nixpkgs/issues/162686
|
||||
networking.useHostResolvConf = lib.mkForce false;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, inputs, ... }:
|
||||
let
|
||||
hostAddress = "10.42.99.1";
|
||||
hostAddress6 = "fc00::1";
|
||||
|
@ -21,13 +21,28 @@ in {
|
|||
# * fc00:x
|
||||
|
||||
containers = {
|
||||
# dns = {
|
||||
# autoStart = true;
|
||||
# inherit hostAddress hostAddress6;
|
||||
# localAddress = "10.42.99.1";
|
||||
# localAddress6 = "fc00::2";
|
||||
#
|
||||
# config = ./dns.nix;
|
||||
# };
|
||||
dns = {
|
||||
autoStart = true;
|
||||
inherit hostAddress hostAddress6;
|
||||
localAddress = "10.42.99.1";
|
||||
localAddress6 = "fc00::2";
|
||||
|
||||
specialArgs = { inherit inputs; };
|
||||
|
||||
config = {pkgs, ...}: {
|
||||
imports = [
|
||||
./common.nix
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.gnome-autounlock-keyring.nixosModules.default
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
];
|
||||
|
||||
services.v.dns = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
mode = "server";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{ ... }: {
|
||||
imports = [ ./common.nix ];
|
||||
services.v.dns = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
mode = "server";
|
||||
};
|
||||
}
|
|
@ -11,7 +11,7 @@
|
|||
bluetooth.enable = true;
|
||||
|
||||
# OpenGL + Vulkan
|
||||
opengl = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
|
|
|
@ -13,30 +13,8 @@ in
|
|||
v.hyprland-workspaces
|
||||
];
|
||||
|
||||
systemd.user.services.mako = {
|
||||
Install = {
|
||||
WantedBy = [ "hyprland-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "dbus";
|
||||
BusName = "org.freedesktop.Notifications";
|
||||
|
||||
ExecCondition = ''
|
||||
${pkgs.bash}/bin/bash -c '[ -n "$WAYLAND_DISPLAY" ]'
|
||||
'';
|
||||
|
||||
ExecStart = ''
|
||||
${pkgs.mako}/bin/mako
|
||||
'';
|
||||
|
||||
ExecReload = ''
|
||||
${pkgs.mako}/bin/makoctl reload
|
||||
'';
|
||||
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
services = {
|
||||
mako.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
@ -49,7 +27,6 @@ in
|
|||
# configDir = ./eww;
|
||||
# };
|
||||
|
||||
mako.enable = true;
|
||||
|
||||
waybar = {
|
||||
enable = true;
|
||||
|
@ -173,7 +150,7 @@ in
|
|||
wpctl = "${pkgs.wireplumber}/bin/wpctl";
|
||||
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
|
||||
menu = "${config.programs.wofi.package}/bin/wofi --show run,drun";
|
||||
fileManager = "${pkgs.gnome.nautilus}/bin/nautilus";
|
||||
fileManager = "${pkgs.nautilus}/bin/nautilus";
|
||||
in
|
||||
{
|
||||
"$mod" = "SUPER";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue