Initial commit

This commit is contained in:
2025-11-28 01:41:57 +01:00
commit 0be86c7284
113 changed files with 8498 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ config, ... }:
{
imports = [
# Mostly system related configuration
../../nixos/audio.nix
../../nixos/bluetooth.nix
../../nixos/fonts.nix
../../nixos/home-manager.nix
../../nixos/nix.nix
../../nixos/systemd-boot.nix
../../nixos/sddm.nix
../../nixos/users.nix
../../nixos/utils.nix
../../nixos/hyprland.nix
../../nixos/hosts.nix
# You should let those lines as is
./hardware-configuration.nix
./variables.nix
];
home-manager.users."${config.var.username}" = import ./home.nix;
# Don't touch this
system.stateVersion = "24.05";
}

View File

@@ -0,0 +1,38 @@
# 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")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/6d8f6f33-c9d9-4e90-b496-d5b3ef5e9aeb";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8797-B47E";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# 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.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

110
hosts/altair/home.nix Normal file
View File

@@ -0,0 +1,110 @@
{
pkgs,
config,
inputs,
...
}:
{
imports = [
# Mostly user-specific configuration
./variables.nix
# Programs
../../home/programs/kitty
# ../../home/programs/alacritty
../../home/programs/ghostty
#../../home/programs/nvf
../../home/programs/shell
#../../home/programs/fetch
../../home/programs/git
#../../home/programs/git/signing.nix
../../home/programs/spicetify
../../home/programs/thunar
#../../home/programs/lazygit
../../home/programs/discord
#../../home/programs/tailscale
../../home/programs/gpg
../../home/programs/rclone
../../home/programs/direnv
../../home/programs/thunderbird
../../home/programs/bitwarden
../../home/programs/nixCats
#../../home/programs/zen-browser
# Scripts
../../home/scripts # All scripts
# System (Desktop environment like stuff)
../../home/system/hyprland
#../../home/system/hyprlock
../../home/system/hyprpanel
#../../home/system/ashell
../../home/system/hyprsunset
../../home/system/hyprpaper
../../home/system/zathura
../../home/system/mime
../../home/system/udiskie
../../home/system/vicinae
../../home/system/wofi
# ../../home/system/hypridle
];
home = {
inherit (config.var) username;
homeDirectory = "/home/" + config.var.username;
packages = with pkgs; [
dotnet-runtime
dafny
gemini-cli
# Apps
bitwarden-desktop # Password manager
vlc # Video player
blanket # White-noise app
obsidian # Note taking app
planify # Todolists
textpieces # Manipulate texts
curtail # Compress images
resources # Ressource monitor
gnome-clocks # Clocks app
gnome-text-editor # Basic graphic text editor
mpv # Video player
brave # Web browser
# Privacy
session-desktop # Session app, private messages
signal-desktop # Signal app, private messages
protonvpn-gui
proton-pass
proton-authenticator
ticktick # Privacy friendly todo app
# Utils
zip
unzip
optipng
jpegoptim
pfetch
btop
fastfetch
# Just cool
peaclock
cbonsai
pipes
cmatrix
# Backup
vscode
libreoffice-qt6-fresh
];
# Don't touch this
stateVersion = "24.05";
};
programs.home-manager.enable = true;
}

View File

@@ -0,0 +1,57 @@
{
config,
lib,
...
}:
{
imports = [
# Choose your theme here:
../../themes/catppuccin.nix
];
config.var = {
hostname = "altair";
username = "kiri";
configDirectory = "/home/" + config.var.username + "/.config/nixos"; # The path of the nixos configuration directory
keyboardLayout = "us";
location = "Meterik";
timeZone = "Europe/Amsterdam";
defaultLocale = "en_US.UTF-8";
timeLocale = "en_DK.UTF-8";
numericLocale = "en_IE.UTF-8";
otherLocale = "nl_NL.UTF-8";
git = {
username = "kiri";
email = "mail@jelles.net";
};
autoUpgrade = false;
autoGarbageCollector = true;
hyprland = {
workspace = [
"1, monitor:0, persistent:true, default:true"
"2, monitor:0, persistent:true"
"3, monitor:0, persistent:true"
"11, monitor:0, persistent:true"
"12, monitor:0, persistent:true"
"13, monitor:0, persistent:true"
];
monitor = [
",preferred,auto,1.5"
];
};
};
# Let this here
options = {
var = lib.mkOption {
type = lib.types.attrs;
default = { };
};
};
}