mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
Back again to unstable channels because why not
This commit is contained in:
parent
b9785fed44
commit
5eaf0ac0ed
3
Makefile
3
Makefile
@ -35,3 +35,6 @@ install: channels update
|
||||
|
||||
upgrade: update switch
|
||||
|
||||
rollback:
|
||||
@sudo nix-env --rollback
|
||||
|
||||
|
@ -9,6 +9,9 @@ path = .gnupg
|
||||
# The password store of gopass
|
||||
path = .password-store
|
||||
|
||||
# My SSH keys
|
||||
path = .ssh
|
||||
|
||||
# Some regexps specifying names and paths to ignore
|
||||
ignore = Name temp.*
|
||||
ignore = Name *~
|
||||
@ -16,8 +19,14 @@ ignore = Name .*~
|
||||
ignore = Name *.o
|
||||
ignore = Name *.tmp
|
||||
|
||||
# Use this command for displaying diffs
|
||||
diff = diff -y -W 79 --suppress-common-lines
|
||||
# Node cache
|
||||
ignore = Name node_modules
|
||||
|
||||
# Rust build caches
|
||||
ignore = Name target
|
||||
|
||||
# The diff command with the unified style (the same style Git uses for showing diffs)
|
||||
diff = diff --unified
|
||||
|
||||
# Log actions to the terminal
|
||||
log = true
|
@ -13,7 +13,6 @@
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nixos"; # Define your hostname.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
|
||||
@ -31,6 +30,16 @@
|
||||
XDG_BIN_HOME = "$HOME/.local/bin";
|
||||
};
|
||||
|
||||
# Moving all of the host-specific configurations into its appropriate place.
|
||||
my.home.xdg.dataFile =
|
||||
let insertXDGDataFolder = name: {
|
||||
source = ./config + "/${name}";
|
||||
recursive = true;
|
||||
}; in {
|
||||
"recoll" = insertXDGDataFolder "recoll";
|
||||
"unison" = insertXDGDataFolder "unison";
|
||||
};
|
||||
|
||||
# Install documentations for tools and whatnot.
|
||||
documentation = {
|
||||
enable = true;
|
||||
@ -75,7 +84,6 @@
|
||||
base.enable = true;
|
||||
documentation = {
|
||||
enable = true;
|
||||
jupyter.enable = true;
|
||||
latex.enable = true;
|
||||
};
|
||||
game-dev = {
|
||||
@ -102,7 +110,16 @@
|
||||
|
||||
services = {
|
||||
recoll.enable = true;
|
||||
unison.enable = true;
|
||||
unison = {
|
||||
enable = true;
|
||||
flags =
|
||||
let
|
||||
homeDirectory = "/home/${config.my.username}";
|
||||
backupDrive = "/run/media/${config.my.username}/Seagate Backup Plus Drive";
|
||||
in ''
|
||||
-root ${homeDirectory} -root ${backupDrive} -auto -batch -fat -force ${homeDirectory} -mountpoint ${backupDrive} -ignorearchives
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
shell = {
|
||||
@ -124,12 +141,12 @@
|
||||
|
||||
my.packages = with pkgs; [
|
||||
# Muh games.
|
||||
unstable.dwarf-fortress # Losing is fun!
|
||||
unstable.endless-sky # Losing is meh!
|
||||
unstable.minetest # Losing?! What's that?
|
||||
unstable.openmw # Losing is even more meh1
|
||||
unstable.wesnoth # Losing is frustrating!
|
||||
unstable.zeroad # Losing is fun and frustrating!
|
||||
dwarf-fortress # Losing is fun!
|
||||
endless-sky # Losing is meh!
|
||||
minetest # Losing?! What's that?
|
||||
openmw # Losing is even more meh1
|
||||
wesnoth # Losing is frustrating!
|
||||
zeroad # Losing is fun and frustrating!
|
||||
|
||||
# Installing some of the dependencies required for my scripts.
|
||||
ffcast
|
||||
@ -173,7 +190,8 @@
|
||||
hardware.pulseaudio.enable = true;
|
||||
|
||||
# Additional host-specific program configurations.
|
||||
my.home.programs = {
|
||||
my.home = {
|
||||
programs = {
|
||||
# My personal Git config.
|
||||
git = {
|
||||
enable = true;
|
||||
@ -188,14 +206,5 @@
|
||||
userEmail = "${config.my.email}";
|
||||
};
|
||||
};
|
||||
|
||||
# Moving all of the host-specific configurations into its appropriate place.
|
||||
my.home.xdg.dataFile =
|
||||
let insertXDGDataFolder = name: {
|
||||
source = ./config + "/${name}";
|
||||
recursive = true;
|
||||
}; in {
|
||||
"recoll" = insertXDGDataFolder "recoll";
|
||||
"unison" = insertXDGDataFolder "unison";
|
||||
};
|
||||
}
|
||||
|
@ -19,9 +19,7 @@ in {
|
||||
(recoll.override {
|
||||
withGui = false;
|
||||
}) # Bring the search engine to the desktop!
|
||||
(unison.override {
|
||||
enableX11 = false;
|
||||
}) # Bridge the gap between your storage.
|
||||
unison
|
||||
magic-wormhole # Magically transfer stuff between your wormholes!
|
||||
transmission # One of the components for sailing the high seas.
|
||||
syncthing # A peer-to-peer synchro summoning.
|
||||
|
@ -13,11 +13,11 @@ with lib;
|
||||
config = mkIf config.modules.desktop.multimedia.enable {
|
||||
my.packages = with pkgs; [
|
||||
hexchat # The ultimate IRC client for neckbeards.
|
||||
kdenlive # A decent free and open source video editor.
|
||||
mpv # The ultimate media player for hipsters.
|
||||
newsboat # The ultimate RSS aggregator for some person.
|
||||
obs-studio # Open Broadcasting Studio Studio, the reliable recording workflow.
|
||||
obs-linuxbrowser # OBS plugin for browser source.
|
||||
openshot-qt # A decent video editor.
|
||||
thunderbird # The ultimate email client for dumbasses like me.
|
||||
zathura # The ultimate PDF viewer for run-of-the-mill ricing.
|
||||
];
|
||||
|
@ -31,7 +31,7 @@ in {
|
||||
fluidsynth # Synth for fluid sounds.
|
||||
helm # A great synthesizer plugin.
|
||||
hydrogen # Them drum beats composition will get good.
|
||||
unstable.polyphone # Edit your fonts for sound.
|
||||
polyphone # Edit your fonts for sound.
|
||||
zynaddsubfx # Ze most advanced synthesizer I've seen so far (aside from the upcoming Vital syntehsizer).
|
||||
|
||||
# As of 2020-07-03, lmms has some trouble regarding Qt or something so at least use the "unstable" channel just to be safe.
|
||||
|
@ -14,8 +14,8 @@ with lib;
|
||||
my.packages = with pkgs; [
|
||||
android-studio # The apartment for Android development.
|
||||
dart # It's JavaScript except saner and slimmer.
|
||||
unstable.flutter # It's Electron except saner and slimmer.
|
||||
unstable.kotlin # It's Java except saner and slimmer.
|
||||
flutter # It's Electron except saner and slimmer.
|
||||
kotlin # It's Java except saner and slimmer.
|
||||
];
|
||||
|
||||
# Enable Android Debug Bridge for some device debugging.
|
||||
|
@ -42,7 +42,7 @@ in
|
||||
|
||||
(if cfg.jupyter.enable then [
|
||||
jupyter # The interactive notebook.
|
||||
unstable.iruby # The Ruby kernel for Jupyter.
|
||||
iruby # The Ruby kernel for Jupyter.
|
||||
] else []) ++
|
||||
|
||||
(if cfg.latex.enable then [
|
||||
|
@ -20,12 +20,12 @@ in
|
||||
config = {
|
||||
my.packages = with pkgs;
|
||||
(if cfg.godot.enable then [
|
||||
unstable.godot # The Godot, not to be confused with a certain prosecutor.
|
||||
godot # The Godot, not to be confused with a certain prosecutor.
|
||||
] else []) ++
|
||||
|
||||
(if cfg.unity3d.enable then [
|
||||
unstable.unity3d # The Unity, not to be confused with a certain ideal.
|
||||
unstable.unityhub # The ideal hub for your Unity projects.
|
||||
unity3d # The Unity, not to be confused with a certain ideal.
|
||||
unityhub # The ideal hub for your Unity projects.
|
||||
] else []);
|
||||
};
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ in
|
||||
config = {
|
||||
my.packages = with pkgs;
|
||||
(if cfg.deno.enable then [
|
||||
unstable.deno # The Deltarune of Node.
|
||||
deno # The Deltarune of Node.
|
||||
] else []) ++
|
||||
|
||||
(if cfg.node.enable then [
|
||||
|
@ -15,7 +15,7 @@ with lib;
|
||||
# Just make sure the unstable version of Emacs is available as a package by creating an overlay.
|
||||
pkg = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.unstable.emacs;
|
||||
default = pkgs.emacs;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -30,7 +30,7 @@ in
|
||||
Service = {
|
||||
ExecStart = "${(pkgs.unison.override { enableX11 = false; })}/bin/unison ${cfg.flags}";
|
||||
Environment = [ "UNISON=\"$XDG_DATA_HOME/unison\"" ];
|
||||
RestartSec = "5mins";
|
||||
RestartSec = "2h";
|
||||
};
|
||||
|
||||
Install = {
|
||||
|
@ -38,16 +38,16 @@ with lib;
|
||||
};
|
||||
};
|
||||
|
||||
# Enable QT configuration to style with the GTK theme.
|
||||
qt5 = {
|
||||
style = "gtk2";
|
||||
platformTheme = "gtk2";
|
||||
};
|
||||
|
||||
|
||||
my.env.TERMINAL = "alacritty";
|
||||
|
||||
my.home = {
|
||||
# Enable GTK configuration.
|
||||
gtk.enable = true;
|
||||
|
||||
# Enable QT configuration.
|
||||
qt.enable = true;
|
||||
qt.platformTheme = "gtk";
|
||||
|
||||
# Install all of the configurations in the XDG config home.
|
||||
xdg.configFile = mkMerge [
|
||||
(let recursiveXdgConfig = name: {
|
||||
@ -66,7 +66,7 @@ with lib;
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf config.services.xserver.enable {
|
||||
{
|
||||
"gtk-3.0/settings.ini".text = ''
|
||||
[Settings]
|
||||
gtk-theme-name=Arc
|
||||
@ -78,15 +78,18 @@ with lib;
|
||||
gtk-xft-hintstyle=hintfull
|
||||
gtk-xft-rgba=none
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
"gtk-2.0/gtkrc".text = ''
|
||||
# Except for the GTK2 config which still needs to be in `$HOME/.gtkrc-2.0`.
|
||||
home.file = {
|
||||
".gtkrc-2.0".text = ''
|
||||
gtk-theme-name="Arc"
|
||||
gtk-icon-theme-name="Arc"
|
||||
gtk-font-name="Sans 10"
|
||||
gtk-cursor-theme-name="Adwaita"
|
||||
'';
|
||||
})
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
my.packages = with pkgs; [
|
||||
|
@ -3,7 +3,7 @@
|
||||
# defold = (callPackage ./defold.nix {});
|
||||
|
||||
# Add packages from the unstable channel with `pkgs.unstable.$PKG`.
|
||||
unstable = import <nixpkgs-unstable> { inherit config; };
|
||||
# unstable = import <nixpkgs-unstable> { inherit config; };
|
||||
})
|
||||
|
||||
# The unstable branch of Emacs.
|
||||
|
Before Width: | Height: | Size: 300 KiB After Width: | Height: | Size: 300 KiB |
Loading…
Reference in New Issue
Block a user