Added "frjia"

This commit is contained in:
Zonsopkomst 2023-01-25 13:21:08 -06:00
parent 06bdd50148
commit f98421c42d
9 changed files with 299 additions and 11 deletions

View file

@ -10,5 +10,18 @@ This is my NixOS with home-manager config structure using nix flakes
## Structure
* flake.nix: Declare hosts and home configurations
* hosts: NixOS Configurations using nixos-rebuild --flake .#<username>
* common: Shared configurations
* common: Shared configurations
## Machines
Hostname | Model | Type | RAM | Processor | Main Use
--- | --- | --- | --- | --- | ---
frija | Acer Aspire 3 | Laptop | ??GB | ?? | Testing
## How to
1. Install NixOS on a Machine. I use the default Gnome installer from xxxxxxxxxxx.
2. Copy the ```configuration.nix``` and ```hardware-configuration.nix``` files from the /etc/nixos directory
3. Create a ```hosts``` directory on git for the new machine
4.

View file

@ -28,15 +28,15 @@
];
};
nixos = nixpkgs.lib.nixosSystem {
frija = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/home/desktop/configuration.nix
./hosts/home/frjia/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.leeuwarden = import ./hosts/home/desktop/home.nix;
home-manager.users.aspire = import ./hosts/home/frija/home.nix;
}
];
};

View file

View file

@ -8,6 +8,17 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./packages.nix
../../../common/amd.nix
../../../common/docker.nix
../../../common/flakeinit.nix
#../../../common/flatpak.nix
#../../../common/gaming.nix
#../../../common/hyperland.nix
#../../../common/insecure.nix
#../../../common/waydroid.nix
../../../users/aspire/home-manager.nix
#../../../users/aspire/syncthing.nix
];
# Bootloader.
@ -28,7 +39,7 @@
boot.initrd.luks.devices."luks-bfce34cb-65e4-4ba0-939d-e3f0ff903338".device = "/dev/disk/by-uuid/bfce34cb-65e4-4ba0-939d-e3f0ff903338";
boot.initrd.luks.devices."luks-bfce34cb-65e4-4ba0-939d-e3f0ff903338".keyFile = "/crypto_keyfile.bin";
networking.hostName = "nixos"; # Define your hostname.
networking.hostName = "frija"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary
@ -95,14 +106,12 @@
# Define a user account. Don't forget to set a password with passwd.
users.users.aspire = {
isNormalUser = true;
description = "aspire";
description = "Aspire";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
geeqie
librewolf
tor-browser-bundle-bin
veracrypt
];
# firefox
# thunderbird
];
};
# Enable automatic login for the user.

View file

@ -0,0 +1,18 @@
{ config, pkgs, ... }:
let
in
{
# imports = [
# (import "${home-manager}/nixos")
# ];
#
home.stateVersion = 22.11;
home-manager.users.aspire = {
# Begin packages and options
home.packages = with pkgs; [
dconf2nix
]
};
}

21
hosts/home/frija/home.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "aspire";
home.homeDirectory = "/home/aspire";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.11";
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}

View file

@ -0,0 +1,203 @@
########################
# Full System Packages #
########################
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs;
[
#################
# Communication #
#################
#dino # XMPP Client
#discord # Discord Client
#element-desktop # Matrix Client
#jitsi # Video Calls & Chat
###########
# Cursors #
###########
phinger-cursors
#########
# Fonts #
#########
anonymousPro # TrueType Font Set for Source Code
roboto # Android Family of Fonts
tamsyn # Monospace Bitmap Font for Programmers
#########
# Games #
#########
#airshipper # Veloren RPG Updater
#assaultcube # First-Person Shooter
#alienarena # First-Person Shooter
#cataclysm-dda # Zombie Rogue-Like
#factorio # Build & Maintain Factories
#freeciv # Civilization Strategy Clone
#freenukum # Duke Nukum 1 Clone
#gamemode # Optimse Linux System Performance
#gzdoom # Doom Clone based on ZDoom
#hedgewars # Worms Clone
#openttd # Transport Tycoon Deluxe Clone
#redeclipse # First-Person Shooter
#retroarchFull # Multi-Platform Emulator
#sauerbraten # First-Person Shooter, successor of Cube
#scorched3d # Scorched Earth 3D Clone
#shattered-pixel-dungeon # Roguelike Dungeon Crawl
#supertux # Super Mario Clone
#supertuxkart # Super Mario Kart Clone
#tuxpaint # Drawing for Children
#warzone2100 # Real-Time Strategy
#warsow # First-Person Shooter
#wesnoth # Fantasy Strategy
#ufoai # X-Com Clone
#xonotic # First-Person Shooter
#zdoom # Doom Clone
#zeroad # Ancient Warfare Strategy
# Todo:
#zero ballistics # ??
#the dark mod # ??
#########
# Gnome #
#########
adw-gtk3 # GTK3 libadwaita Theme ported to GTK-3
dconf # Gnome Configuration
gnome.gnome-tweaks # Gnome Customization Tool
##################
# Game Launchers #
##################
#heroic # GOG & Epic Games Launcher
# NOTE: Issues with authenticating, package out of date, using Flatpak
#itch # itch.io Games Launcher
#legendary-gl # Epic Games Launcher Alternative
#lutris # Issues with Origin installation,
# using Flatpak
#steam # Steam Game Launcher, using xxx
############
# Internet #
############
#betterbird # Email Client, No pkg,
# using flatpak
#brave # Thunderbird Fork, issues
# w/ BAT, using flatpak
librewolf # Firefox Web Browser Fork
#thunderbird # Email Client
#tigervnc # VNC Client
tor-browser-bundle-bin # Privacy Web Browser
#######
# KDE #
#######
#kate # Text Editor
#kde-gtk-config # KDE GTK Configuration
#libsForQt5.applet-window-buttons # KDE Applet
#libsForQt5.breeze-gtk # GTK Breeze Theming
#libsForQt5.breeze-qt5 # QT5 Breeze Theming
#libsForQt5.breeze-icons # Breeze Icons
#libsForQt5.filelight # Storage Usage Application
#libsForQt5.kaccounts-providers # KDE Accounts#libsForQt5.qtstyleplugin-kvantum # KDE Theming
#libsForQt5.kdecoration # KDE Theming
#libsForQt5.powerdevil # Power Manager
#libsForQt5.sddm # SDDM Libraries
#libsForQt5.sddm-kcm # SDDM Libraries
# Enable KDE Wallet PAM
#security.pam.services.zonsopkomst.enableKwallet = true;
#########
# Media #
#########
#ardour # DAW
#bibletime # Bible Study Tool
#blender # 3D Animation/Publishing
#calibre # eBook Library
#easytag # Music Tag Editor
#foliate # eBook Reader
#freetube # YouTube Front-End
#gimp # GNU Image Manipulation Program
#gpodder # Podcast Manager
#handbrake # Video Conversion Tool
#inkscape # Vector Graphics Editor
#libsForQt5.kolourpaint # Painting Application
#krita # Painting Application
#libsForQt5.k3b # Disk Burning Application
#gmic-qt-krita # Painting Application
#makemkv # Blu-Ray and DVD to MKV Converter
mpv # Media Player
#nuclear # Music Player,
# Package not updated
#obs-studio # Recording/Streaming Application
#libsForQt5.okular # Document Viewer
#smplayer # Media Player
#strawberry # Media Player
#tenacity # Sound Editor
#zotero # Research Sourcer
#hypnotix ?? # IPTV Streaming Application
##########
# Office #
##########
#gImageReader # Tesseract-OCR Front-End
#gnucash # Double Entry Accounting Software
# Gnucash requires dconf, see Gnome section above
#obsidian # Markdown Editor
#onlyoffice-bin # Office Suite
#pdfarranger # PDF Arranger
###############################
# Printers, Copiers, Scanners #
###############################
#hplip # HP Print Drivers
##########
# System #
##########
# alacritty # Terminal Emulator
appimage-run # Appimage Runner
bleachbit # PC Cleaner
#bottles # Wineprefix Manager
btop # Resource Monitor
cpu-x # PC Information
#crow-translate # Language Translator
#genymotion # NOTE: Issues with loading
git # Distributed Version Control System
#gsmartcontrol # Disk Health Inspection Tool
#htop # Process Viewer
#i2c-tools # Network Utilities
#inetutils # Network Utilities
#keepassxc # GUI Password Manager with Cryptography
#kitty # Terminal Emulator
#openrgb # RGB Manager
neofetch # System Information
#nix-software-center # Nix Software Center
#nox # Nix Tools
ntfs3g # FUSE Client
p7zip # File Archiver
papirus-icon-theme # Icons
powertop # Power Manager
#protonup # Proton Installer
#qemu_full # Virtual Machine
#solaar # Logitech Unifying Receiver
#speedcrunch # Calculator
#syncthing # File Synchronization
#syncthing-tray # Tray for Syncthing
tixati # Torrent Application
#tldr # Simplified man pages
#waydroid # Android Emulator
# Only works on wayland
#ventoy-bin # USB Boot App
veracrypt # Filesystem Encryption
#virtualbox # Virtual Machine
# Only needed with genymotion
vscodium # Code Editor
xorg.xkill # Kill Windows w/ Mouse
];
}

View file

@ -0,0 +1,24 @@
{ config, pkgs, ... }:
{
# Currently using to manage my config files on multiple systems
# See https://github.com/nix-community/home-manager for manual and configuration options
# 1) Remember to add unstable channel (in this case) in the terminal:
# sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
# 2) sudo nix-channel --update
# 3) Include "<home-manager/nixos>" in "Imports" section above
home-manager.users.aspire = { pkgs, ... }: {
home.packages = with pkgs; [
# Begin packages and options
alacritty
];
# Need to enable home.stateVersion for it to work correctly:
home.stateVersion = "22.05";
# Begin configuration or script declarations
home.file = {
".config/alacritty/alacritty.yml".text = ''
{window: {opacity: 0.8}, font: {normal: {family: tamsyn, style: Regular}}}
'';
};
};
}