Compare commits

..

No commits in common. "4eb46904e1e838194fb5bae831e83b2a54b0d61e" and "8166934d8659b0d9c3a67126f15059f3a6d2e13c" have entirely different histories.

8 changed files with 2 additions and 50 deletions

View file

@ -1,4 +1,4 @@
{ config, profile-path, pkgs, ... }:
{ config, profile-path, ... }:
let
user = config.profile.user;
stateVersion = config.profile.system.stateVersion;
@ -9,7 +9,6 @@ in
./programs
./modules
./games
./direnv.nix
./config/ideavim
@ -20,9 +19,6 @@ in
username = user.name;
homeDirectory = "/home/${user.name}";
stateVersion = stateVersion;
packages = with pkgs; [
gopls
];
};
programs.home-manager.enable = true;
systemd.user.sessionVariables = {

View file

@ -1,6 +0,0 @@
{ pkgs, ... }:
{
imports = [
./minecraft.nix
];
}

View file

@ -1,12 +0,0 @@
{ config, lib, pkgs, ... }:
let
cfg = config.profile.games.minecraft;
inherit (lib) mkIf;
in
{
config = mkIf cfg.enable {
home.packages = with pkgs; [
prismlauncher
];
};
}

View file

@ -6,7 +6,6 @@
./docker.nix
./podman.nix
./services.nix
./games.nix
];
options.profile = {

View file

@ -1,9 +0,0 @@
{ lib, ... }:
let
inherit (lib) mkEnableOption types;
in
{
options.profile.games = {
minecraft.enable = mkEnableOption "Minecraft";
};
}

View file

@ -73,7 +73,5 @@
home.programs.foot.enable = true;
home.programs.zellij.enable = true;
games.minecraft.enable = true;
};
}

View file

@ -48,8 +48,6 @@
home.programs.zellij = {
enable = true;
autoAttach = true;
mod = "Ctrl b";
zjstatus.theme = ../home/programs/zellij/themes/zjstatus/gruvbox-dark.nix;
};
services = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, lib, ... }:
{
networking.networkmanager.enable = true;
networking.extraHosts = ''
@ -16,16 +16,4 @@
allowedTCPPorts = cfg.allowedTCPPorts;
allowedUDPPorts = [ 53 ];
};
services.resolved = {
enable = true;
};
environment.etc."systemd/resolved.conf.d/10-bareksa.conf".source = (pkgs.formats.ini { }).generate "10-bareksa.conf" {
Resolve = {
# This dns server is only available when VPN is connected.
DNS = "192.168.3.215";
Domains = "~bareksa.local";
};
};
}