more tidying - commented most of hosts/hades
This commit is contained in:
parent
b91d96a84c
commit
5ccd508676
6 changed files with 141 additions and 148 deletions
|
|
@ -8,35 +8,33 @@
|
|||
|
||||
nixpkgs = {
|
||||
|
||||
## configure nixpkgs instance
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
];
|
||||
};
|
||||
|
||||
## add overlays here
|
||||
## [START - Stolen code, no clue how it works]
|
||||
overlays = [
|
||||
## to use overlays exported from other flakes:
|
||||
# neovim-nightly-overlay.overlays.default
|
||||
#neovim-nightly-overlay.overlays.default
|
||||
|
||||
## or define it inline, for example:
|
||||
# (final: prev: {
|
||||
# hi = final.hello.overrideAttrs (oldAttrs: {
|
||||
# patches = [ ./change-hello-to-hi.patch ];
|
||||
# });
|
||||
# })
|
||||
#(final: prev: {
|
||||
#hi = final.hello.overrideAttrs (oldAttrs: {
|
||||
#patches = [ ./change-hello-to-hi.patch ];
|
||||
#});
|
||||
#})
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
## This will add each flake input as a registry
|
||||
## To make nix3 commands consistent with your flake
|
||||
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
|
||||
|
||||
## This will additionally add your inputs to the system's legacy channels
|
||||
## Making legacy nix commands consistent as well, awesome!
|
||||
nix.nixPath = ["/etc/nix/path"];
|
||||
|
||||
nix.nixPath = ["/etc/nix/path"];
|
||||
environment.etc =
|
||||
lib.mapAttrs'
|
||||
(name: value: {
|
||||
|
|
@ -44,7 +42,10 @@
|
|||
value.source = value.flake;
|
||||
})
|
||||
config.nix.registry;
|
||||
## [END - Stolen code, mostly understand from here again]
|
||||
|
||||
|
||||
## I put fonts here because i didn't know where tf else to put them lol
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
spleen
|
||||
|
|
@ -52,7 +53,6 @@
|
|||
terminus_font_ttf
|
||||
(nerdfonts.override { fonts = ["NerdFontsSymbolsOnly"]; })
|
||||
];
|
||||
|
||||
fontDir.enable = true;
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
|
|
@ -64,25 +64,25 @@
|
|||
};
|
||||
|
||||
programs = {
|
||||
|
||||
#git = {
|
||||
#enable = true;
|
||||
#};
|
||||
|
||||
|
||||
## a catgirl's favourite shell
|
||||
fish = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
## for when bimbo needs to manage platters
|
||||
gnome-disks = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
## for handling encryption keys
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
#pinentryPackage = [ ];
|
||||
};
|
||||
|
||||
## temporary, fuck vax-bingus or w/e his name is
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
|
|
@ -90,23 +90,51 @@
|
|||
|
||||
};
|
||||
|
||||
## GNOME virtual file system, needed this for something i think ?
|
||||
services.gvfs.enable = true;
|
||||
|
||||
## xserver still needed for xwayland stuff
|
||||
services.xserver.enable = true;
|
||||
|
||||
## login greeter/display manager
|
||||
## set to run on wayland also
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
|
||||
## i use micro btw (neovim scares me)
|
||||
environment.variables = {
|
||||
EDITOR = "micro";
|
||||
SYSTEMD_EDITOR = "micro";
|
||||
VISUAL = "micro";
|
||||
};
|
||||
|
||||
## enabling flatpak in case i need it
|
||||
services.flatpak.enable = true;
|
||||
|
||||
## all system-level packages declared here
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
## filsesystems
|
||||
|
||||
## temporary desktop/user-level
|
||||
#waybar
|
||||
udiskie
|
||||
gparted
|
||||
pavucontrol
|
||||
networkmanager
|
||||
seahorse
|
||||
#polkit-gnome
|
||||
gnome-keyring
|
||||
polkit-kde-agent
|
||||
|
||||
## nix specific tools
|
||||
#nix-tree
|
||||
#nix-init
|
||||
#nix-index
|
||||
#nixpkgs-review
|
||||
#nix-output-monitor
|
||||
|
||||
## filsesystem utilities
|
||||
zfs
|
||||
ntfs3g
|
||||
xfsprogs
|
||||
|
|
@ -114,7 +142,7 @@
|
|||
btrfs-progs
|
||||
ntfs2btrfs
|
||||
|
||||
## tools
|
||||
## cli tools & utilities
|
||||
fd
|
||||
bc
|
||||
zip
|
||||
|
|
@ -141,28 +169,6 @@
|
|||
undervolt
|
||||
#gitwatch
|
||||
|
||||
## nixos
|
||||
#nix-tree
|
||||
#nix-init
|
||||
#nix-index
|
||||
#nixpkgs-review
|
||||
#nix-output-monitor
|
||||
|
||||
## languages and libraries
|
||||
#rustup
|
||||
#python313
|
||||
|
||||
## temporary/desktop
|
||||
#waybar
|
||||
udiskie
|
||||
gparted
|
||||
pavucontrol
|
||||
#polkit-gnome
|
||||
seahorse
|
||||
polkit-kde-agent
|
||||
gnome-keyring
|
||||
networkmanager
|
||||
|
||||
];
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue