starting dbrw config
All checks were successful
/ update-readme (push) Successful in 50s

This commit is contained in:
dim
2024-12-30 11:27:00 +07:00
parent 863253bc74
commit 4c874e960d
45 changed files with 1068 additions and 594 deletions

View File

@@ -1,7 +1,7 @@
{ config, ... }: {
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/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
@@ -15,6 +15,8 @@
../../nixos/tuigreet.nix
../../nixos/users.nix
../../nixos/utils.nix
../../nixos/virtualisation.nix
../../nixos/tailscale.nix
../../nixos/xdg-portal.nix
../../nixos/variables-config.nix
@@ -26,6 +28,11 @@
home-manager.users."${config.var.username}" = import ./home.nix;
# users.users."${config.var.username}".extraGroups = [ "scanner" "lp" ];
# hardware.sane.enable = true;
networking.hosts = { "192.168.122.52" = [ "websiteku.lokal" ]; };
# Don't touch this
system.stateVersion = "24.05";
}

View File

@@ -1,26 +1,32 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
{ config, lib, pkgs, modulesPath, ... }:
boot = {
initrd.availableKernelModules =
[ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
};
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
fileSystems."/" = {
device = "/dev/disk/by-uuid/6c2487ec-20ff-4ce3-9396-281c2094aba1";
fsType = "ext4";
};
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/B4EA-C54F";
fsType = "vfat";
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3b81e71c-24c3-46f7-9853-b721d5fe40f1";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/e35041c3-5cbe-461c-a8cd-2e9cd9b319b5";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/DC41-C56D";
fsType = "vfat";
};
swapDevices = [ ];
@@ -29,10 +35,10 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, config, inputs, ... }: {
imports = [
./variables.nix
@@ -6,16 +6,19 @@
# Programs
../../home/programs/kitty
../../home/programs/nvim
../../home/programs/qutebrowser
# ../../home/programs/qutebrowser
../../home/programs/shell
../../home/programs/pass
../../home/programs/fetch
../../home/programs/git
../../home/programs/spicetify
../../home/programs/nextcloud
../../home/programs/yazi
../../home/programs/markdown
# ../../home/programs/markdown
../../home/programs/thunar
../../home/programs/lazygit
../../home/programs/office
../../home/programs/firefox
# Scripts
../../home/scripts # All scripts
@@ -35,7 +38,7 @@
../../home/system/clipman
../../home/system/tofi
./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
# ./secrets # CHANGEME: You should probably remove this line, this is where I store my secrets
];
home = {
@@ -44,38 +47,83 @@
packages = with pkgs; [
# Apps
discord # Chat
bitwarden # Password manager
vlc # Video player
blanket # White-noise app
#discord # Chat
# bitwarden # Password manager
mpv # Video player
pcmanfm
xarchiver
#blanket # White-noise app
# Dev
go
nodejs
python3
(python3.withPackages (ps:
with ps; [
pip
isort
pyyaml
(buildPythonPackage {
pname = "docker-sdp";
version = "0.2.15";
src = pkgs.fetchFromGitHub {
owner = "neuroforgede";
repo = "docker-stack-deploy";
rev = "fa8c23d";
sha256 = "sha256-caff7K4++eQJE/7kbKJb8DgI6aWJdiHBbdV1+46aFMs=";
};
doCheck = false;
buildInputs = [ pip ];
})
]))
jq
figlet
just
ddev
mkcert
# Utils
zip
xz
unzip
p7zip
unrar
optipng
pfetch
pandoc
btop
bottom
iotop
iftop
lsof
sysstat
lm_sensors
ethtool
pciutils
usbutils
wireguard-tools
inetutils
gdu
enchant
# Just cool
peaclock
cbonsai
pipes
cmatrix
cava
# cava
# Backup
vscode
firefox
# zed-editor
neovide
inkscape-with-extensions
# gimp-with-plugins
gimp
sqlitebrowser
sqlite
emacs29-pgtk
zotero_7
chromium
# inputs.zen-browser.packages."${pkgs.system}"
];
# Import my profile picture, used by the hyprpanel dashboard

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 213 KiB

View File

@@ -2,21 +2,29 @@
imports = [ ../../nixos/variables-config.nix ];
config.var = {
hostname = "nixy";
username = "hadi";
hostname = "dark";
username = "dim";
uid = 1000;
hashedPassword =
"$y$j9T$OqKMt8etf8DgTrZhN9jzy/$biMoM3P.WPZMpk0DAK.QhaHjGOL23pEgxlSvfu9LEPD";
configDirectory = "/home/" + config.var.username
+ "/.config/nixos"; # The path of the nixos configuration directory
keyboardLayout = "fr";
keyboardLayout = "us";
location = "Paris";
timeZone = "Europe/Paris";
location = "Tangerang";
timeZone = "Asia/Jakarta";
defaultLocale = "en_US.UTF-8";
extraLocale = "fr_FR.UTF-8";
extraLocale = "id_ID.UTF-8";
weatherapikey = "b13ad03a98f04a8ea5620114240412";
git = {
username = "Hadi";
email = "112569860+anotherhadi@users.noreply.github.com";
username = "dim";
email = "dbrw@dark";
signing = {
key = "D8EDD65BCB54AC8719BE4EBD8D5D880EB08F1544";
signByDefault = true;
};
};
autoUpgrade = false;