This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
{ config, pkgs, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# ../../nixos/nvidia.nix # CHANGEME: Remove this line if you don't have an Nvidia GPU
|
||||
# ../../nixos/prime.nix # CHANGEME: Remove this line if you don't have an Nvidia GPU
|
||||
|
||||
../../nixos/audio.nix
|
||||
../../nixos/auto-upgrade.nix
|
||||
../../nixos/bluetooth.nix
|
||||
@@ -13,7 +14,8 @@
|
||||
../../nixos/systemd-boot.nix
|
||||
../../nixos/timezone.nix
|
||||
../../nixos/tuigreet.nix
|
||||
../../nixos/tlp.nix
|
||||
# ../../nixos/tlp.nix
|
||||
../../nixos/upower.nix
|
||||
../../nixos/users.nix
|
||||
../../nixos/utils.nix
|
||||
../../nixos/virtualisation.nix
|
||||
@@ -34,8 +36,8 @@
|
||||
|
||||
programs.nm-applet.enable = true;
|
||||
networking.hosts = {
|
||||
"192.168.122.52" = [ "websiteku.lokal" ];
|
||||
"127.0.0.1" = [ "dimensi.lokal" "sisfokampus.ddev.site" ];
|
||||
"192.168.122.52" = ["websiteku.lokal"];
|
||||
"127.0.0.1" = ["dimensi.lokal" "sisfokampus.ddev.site"];
|
||||
# "10.230.4.15" = [ "www.yapeim.my" ];
|
||||
# "43.239.205.20" = [ "dimensi.my" ];
|
||||
# "103.106.6.124" = [ "dimensi.my" ];
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
{ pkgs, config, inputs, ... }: {
|
||||
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./variables.nix
|
||||
|
||||
# Programs
|
||||
../../home/programs/kitty
|
||||
../../home/programs/nfv
|
||||
../../home/programs/nvf
|
||||
../../home/programs/helix
|
||||
../../home/programs/shell
|
||||
../../home/programs/pass
|
||||
../../home/programs/fetch
|
||||
@@ -23,18 +28,19 @@
|
||||
../../home/scripts # All scripts
|
||||
|
||||
# System (Desktop environment like stuff)
|
||||
../../home/system/hyprland
|
||||
../../home/system/hypridle
|
||||
../../home/system/hyprlock
|
||||
../../home/system/hyprpaper
|
||||
../../home/system/wofi
|
||||
# ../../home/system/hyprland
|
||||
# ../../home/system/hypridle
|
||||
# ../../home/system/hyprlock
|
||||
# ../../home/system/hyprpaper
|
||||
# ../../home/system/wofi
|
||||
# ../../home/system/waybar
|
||||
# ../../home/system/dunst
|
||||
../../home/system/batsignal
|
||||
../../home/system/zathura
|
||||
../../home/system/mime
|
||||
../../home/system/udiskie
|
||||
../../home/system/clipman
|
||||
../../home/system/waybar
|
||||
../../home/system/dunst
|
||||
../../home/system/niri
|
||||
|
||||
# ./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
|
||||
];
|
||||
@@ -51,6 +57,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) ["intelephense" "spotify"];
|
||||
home = {
|
||||
inherit (config.var) username;
|
||||
homeDirectory = "/home/" + config.var.username;
|
||||
@@ -80,7 +88,7 @@
|
||||
};
|
||||
doCheck = false;
|
||||
pyproject = true;
|
||||
propagatedBuildInputs = [ pip setuptools pyyaml mypy ];
|
||||
propagatedBuildInputs = [pip setuptools pyyaml mypy];
|
||||
})
|
||||
]))
|
||||
jq
|
||||
@@ -145,7 +153,7 @@
|
||||
];
|
||||
|
||||
# Import my profile picture, used by the hyprpanel dashboard
|
||||
file.".profile_picture.png" = { source = ./profile_picture.png; };
|
||||
file.".profile_picture.png" = {source = ./profile_picture.png;};
|
||||
|
||||
# Don't touch this
|
||||
stateVersion = "24.05";
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
{ config, ... }: {
|
||||
imports = [ ../../nixos/variables-config.nix ];
|
||||
{config, ...}: {
|
||||
imports = [../../nixos/variables-config.nix];
|
||||
|
||||
config.var = {
|
||||
hostname = "dark";
|
||||
username = "dim";
|
||||
fullname = "Dhimas Widrayato";
|
||||
uid = 1000;
|
||||
hashedPassword =
|
||||
"$y$j9T$OqKMt8etf8DgTrZhN9jzy/$biMoM3P.WPZMpk0DAK.QhaHjGOL23pEgxlSvfu9LEPD";
|
||||
configDirectory = "/home/" + config.var.username
|
||||
+ "/.config/nixos"; # The path of the nixos configuration directory
|
||||
hashedPassword = "$y$j9T$OqKMt8etf8DgTrZhN9jzy/$biMoM3P.WPZMpk0DAK.QhaHjGOL23pEgxlSvfu9LEPD";
|
||||
configDirectory = "/home/" + config.var.username + "/.config/nixos"; # The path of the nixos configuration directory
|
||||
|
||||
keyboardLayout = "us";
|
||||
|
||||
@@ -29,8 +28,7 @@
|
||||
|
||||
autoUpgrade = false;
|
||||
autoGarbageCollector = false;
|
||||
cpuTempSensor =
|
||||
"/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon5/temp1_input";
|
||||
cpuTempSensor = "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon5/temp1_input";
|
||||
|
||||
theme = import ../../themes/var/nixy.nix;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user