updated home/
|
|
@ -1,89 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
|
|
||||||
## Import desktop configs
|
|
||||||
../desktop
|
|
||||||
|
|
||||||
## Import service configs
|
|
||||||
./systemd-services
|
|
||||||
|
|
||||||
## Import program configs
|
|
||||||
./fetch
|
|
||||||
./kitty
|
|
||||||
./btop
|
|
||||||
./yazi
|
|
||||||
./nvim
|
|
||||||
./fish
|
|
||||||
./git
|
|
||||||
|
|
||||||
];
|
|
||||||
|
|
||||||
home = {
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
|
||||||
|
|
||||||
## Games
|
|
||||||
osu-lazer-bin # Rhythm is just a click away!
|
|
||||||
cockatrice # Magical the gathering but free
|
|
||||||
vassal # fossy board-game sim :3
|
|
||||||
|
|
||||||
## Chat & Web
|
|
||||||
#lagrange # Browser for the gemini protocol
|
|
||||||
vesktop # Modded discord wrapper
|
|
||||||
fractal # GTK matrix client - need to fix gnome-keyring
|
|
||||||
#tor # The Onion Router
|
|
||||||
|
|
||||||
## Media
|
|
||||||
#lollypop # GTK music player
|
|
||||||
spotify # Corpo music streaming
|
|
||||||
#pragha # Music player
|
|
||||||
#tauon # Music player
|
|
||||||
#transmission_4-gtk # Torrent client
|
|
||||||
#nicotine-plus # P2P Media sharing
|
|
||||||
#jellyfin # Self-Hosted media streaming
|
|
||||||
#syncplay # Synchronise local playback with friends
|
|
||||||
vlc # Multimedia player
|
|
||||||
|
|
||||||
## Productivity
|
|
||||||
#thunderbird # Email client - commented out due to network issues trying to build it ?
|
|
||||||
obsidian # Note-taking
|
|
||||||
|
|
||||||
## Audio playback and production
|
|
||||||
#neural-amp-modeler-lv2 # Guitar amp emulator
|
|
||||||
bespokesynth # Modular synthesiser and sequencer
|
|
||||||
easyeffects # EQ and audio effects
|
|
||||||
#metronome # A metronome
|
|
||||||
#vcv-rack # Analogue-Synth emulator
|
|
||||||
#cardinal # VCV Rack but open source and as a plugin
|
|
||||||
audacity # Audio editing
|
|
||||||
helvum # GTK patchbay
|
|
||||||
#ardour # Digital Audio Workstation
|
|
||||||
|
|
||||||
## Image and Video playback and production
|
|
||||||
#obs-studio # Screen sharing
|
|
||||||
#inkscape # Vector image editing
|
|
||||||
#shotcut # Video editing
|
|
||||||
#blender # 3D modelling
|
|
||||||
gimp # Digital image editing
|
|
||||||
];
|
|
||||||
|
|
||||||
stateVersion = "23.11";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
home-manager.enable = true; # Declarative dots
|
|
||||||
firefox.enable = true; # Browser of choice
|
|
||||||
nheko.enable = true; # Matrix client for qt kitties
|
|
||||||
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.user.startServices = "sd-switch";
|
|
||||||
|
|
||||||
}
|
|
||||||
20
home/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
## Import desktop configs
|
||||||
|
./desktop
|
||||||
|
## Import service configs
|
||||||
|
./systemd
|
||||||
|
## Import program configs
|
||||||
|
./programs
|
||||||
|
];
|
||||||
|
|
||||||
|
## Enabling home-manager
|
||||||
|
programs.home-manager.enable = true; # Declarative dots
|
||||||
|
systemd.user.startServices = "sd-switch";
|
||||||
|
|
||||||
|
home.stateVersion = "23.11";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -4,10 +4,6 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
## Import themes and scripts
|
|
||||||
#./themes
|
|
||||||
./scripts
|
|
||||||
|
|
||||||
## Import misc desktop files
|
## Import misc desktop files
|
||||||
#./xdg-mime.nix
|
#./xdg-mime.nix
|
||||||
./gtk-qt.nix
|
./gtk-qt.nix
|
||||||
|
|
|
||||||
70
home/programs/default.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
|
||||||
|
## Import program configs
|
||||||
|
./fetch
|
||||||
|
./kitty
|
||||||
|
./btop
|
||||||
|
./yazi
|
||||||
|
./nvim
|
||||||
|
./fish
|
||||||
|
./git
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
nheko.enable = true;
|
||||||
|
firefox.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
|
||||||
|
## Games
|
||||||
|
osu-lazer-bin # Rhythm is just a click away!
|
||||||
|
cockatrice # Magical the gathering but free
|
||||||
|
vassal # fossy board-game sim :3
|
||||||
|
|
||||||
|
## Chat & Web
|
||||||
|
#lagrange # Browser for the gemini protocol
|
||||||
|
vesktop # Modded discord wrapper
|
||||||
|
fractal # GTK matrix client - need to fix gnome-keyring
|
||||||
|
#tor # The Onion Router
|
||||||
|
|
||||||
|
## Media
|
||||||
|
#lollypop # GTK music player
|
||||||
|
spotify # Corpo music streaming
|
||||||
|
#pragha # Music player
|
||||||
|
#tauon # Music player
|
||||||
|
#transmission_4-gtk # Torrent client
|
||||||
|
#nicotine-plus # P2P Media sharing
|
||||||
|
#jellyfin # Self-Hosted media streaming
|
||||||
|
#syncplay # Synchronise local playback with friends
|
||||||
|
vlc # Multimedia player
|
||||||
|
|
||||||
|
## Productivity
|
||||||
|
#thunderbird # Email client - commented out due to network issues trying to build it ?
|
||||||
|
obsidian # Note-taking
|
||||||
|
|
||||||
|
## Audio playback and production
|
||||||
|
#neural-amp-modeler-lv2 # Guitar amp emulator
|
||||||
|
bespokesynth # Modular synthesiser and sequencer
|
||||||
|
easyeffects # EQ and audio effects
|
||||||
|
#metronome # A metronome
|
||||||
|
#vcv-rack # Analogue-Synth emulator
|
||||||
|
#cardinal # VCV Rack but open source and as a plugin
|
||||||
|
audacity # Audio editing
|
||||||
|
helvum # GTK patchbay
|
||||||
|
#ardour # Digital Audio Workstation
|
||||||
|
|
||||||
|
## Image and Video playback and production
|
||||||
|
#obs-studio # Screen sharing
|
||||||
|
#inkscape # Vector image editing
|
||||||
|
#shotcut # Video editing
|
||||||
|
#blender # 3D modelling
|
||||||
|
gimp # Digital image editing
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
|
Before Width: | Height: | Size: 6.8 MiB After Width: | Height: | Size: 6.8 MiB |
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
#../desktop/resources/themes/default.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,13 @@
|
||||||
{ self, inputs, outputs, lib, config, pkgs, ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
## Import user theme
|
## Import user theme
|
||||||
../desktop/resources/themes
|
../resources/themes
|
||||||
../desktop/resources/themes/SerenityOS.nix
|
../resources/themes/SerenityOS.nix
|
||||||
## Import shared home config
|
## Import shared home config
|
||||||
../common
|
../common
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
|
||||||
## Declare user specific packages
|
|
||||||
packages = with pkgs; [
|
|
||||||
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,68 +0,0 @@
|
||||||
## ZFS Support NixOS module
|
|
||||||
|
|
||||||
## temporary location while we figure out how ZFS works,
|
|
||||||
## eventually this will be embedded into the flake in a better way
|
|
||||||
|
|
||||||
{ lib, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
## This 'let' binding creates an attribute set
|
|
||||||
## called "LatestZfsLinux", which we can call as
|
|
||||||
## a package to specify when building our kernel.
|
|
||||||
latestZfsLinux = lib.pipe pkgs.linuxKernel.packages [
|
|
||||||
builtins.attrValues
|
|
||||||
(builtins.filter (
|
|
||||||
kPkgs:
|
|
||||||
(builtins.tryEval kPkgs).success
|
|
||||||
&& kPkgs ? kernel
|
|
||||||
&& kPkgs.kernel.pname == "linux"
|
|
||||||
&& !kPkgs.zfs.meta.broken
|
|
||||||
))
|
|
||||||
(builtins.sort (a: b: (lib.versionOlder a.kernel.version b.kernel.version)))
|
|
||||||
lib.last
|
|
||||||
];
|
|
||||||
in
|
|
||||||
|
|
||||||
{
|
|
||||||
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
## Enable zfs in kernel and boot
|
|
||||||
boot = {
|
|
||||||
kernelPackages = latestZfsLinux;
|
|
||||||
supportedFilesystems = [ "zfs" ];
|
|
||||||
zfs = {
|
|
||||||
extraPools = [ "orcus" ];
|
|
||||||
forceImportRoot = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
#fileSystems."/home/serenity/Disks/Orcus" = {
|
|
||||||
#device = "orcus";
|
|
||||||
#fsType = "zfs";
|
|
||||||
#options = [ "users" ];
|
|
||||||
#};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
zfs
|
|
||||||
];
|
|
||||||
|
|
||||||
## Enable trim for ZFS SSDs
|
|
||||||
services = {
|
|
||||||
zfs = {
|
|
||||||
## Trim for SSSds with ZFS
|
|
||||||
#trim.enable = true;
|
|
||||||
## Autoscrub data integrity ZFS service,
|
|
||||||
## more to be added soon
|
|
||||||
autoScrub = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
|
||||||
hostId = "603b0c8b";
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||