mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
MASSIVE restructuring
This commit is contained in:
13
systems/homeros/config.nix
Normal file
13
systems/homeros/config.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[ ../regular.nix
|
||||
];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "homeros";
|
||||
|
||||
system.stateVersion = "19.03";
|
||||
}
|
||||
32
systems/homeros/physical.nix
Normal file
32
systems/homeros/physical.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
./config.nix
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" "rtsx_usb_sdmmc" ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/83544ad3-1d23-4c2d-82bc-fafef13a996f";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/8F9E-7556";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/5ea3a65e-8fdb-45fb-ad32-3759d991a83a"; }
|
||||
];
|
||||
|
||||
nix.maxJobs = lib.mkDefault 4;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
}
|
||||
82
systems/regular.nix
Normal file
82
systems/regular.nix
Normal file
@@ -0,0 +1,82 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
executables = pkgs.haskell.lib.justStaticExecutables;
|
||||
unstable = import <nixos-unstable> {};
|
||||
todoist = pkgs.callPackage ../packages/todoist {};
|
||||
daybook = pkgs.callPackage ../packages/daybook.nix {};
|
||||
iolanguage = pkgs.callPackage ../packages/iolanguage.nix {};
|
||||
in {
|
||||
imports = [
|
||||
../configs/base
|
||||
../configs/docker.nix
|
||||
../configs/google-drive.nix
|
||||
../configs/graphical.nix
|
||||
../configs/haskell.nix
|
||||
../configs/hu-berlin.nix
|
||||
../configs/retiolum.nix
|
||||
../configs/wifi.nix
|
||||
];
|
||||
|
||||
users.users.kfm.packages = with pkgs; [
|
||||
] ++ [ # typesetting
|
||||
(texlive.combine {
|
||||
inherit (pkgs.texlive) scheme-full texdoc latex2e-help-texinfo;
|
||||
pkgFilter = pkg: pkg.tlType == "run" || pkg.tlType == "bin" || pkg.pname == "latex2e-help-texinfo";
|
||||
})
|
||||
pandoc
|
||||
(executables haskellPackages.pandoc-citeproc)
|
||||
(executables haskellPackages.hakyll)
|
||||
asciidoctor
|
||||
] ++ [ # programming
|
||||
tokei
|
||||
gnumake
|
||||
cabal2nix
|
||||
chicken
|
||||
clojure
|
||||
gcc
|
||||
htmlTidy
|
||||
iolanguage
|
||||
lua
|
||||
mypy
|
||||
nix-prefetch-git
|
||||
nodejs
|
||||
nodePackages.eslint
|
||||
nodePackages.csslint
|
||||
nodePackages.prettier
|
||||
ocaml
|
||||
python3
|
||||
python36Packages.black
|
||||
python36Packages.flake8
|
||||
ruby
|
||||
rustup
|
||||
scala
|
||||
shellcheck
|
||||
] ++ [ # media
|
||||
audacity
|
||||
calibre
|
||||
inkscape
|
||||
poppler_utils
|
||||
spotify
|
||||
youtubeDL
|
||||
] ++ [ # cloud
|
||||
dropbox-cli
|
||||
grive2
|
||||
seafile-client
|
||||
] ++ [ # math
|
||||
bc
|
||||
graphviz
|
||||
maxima
|
||||
] ++ [ # shell
|
||||
# todoist
|
||||
aspell
|
||||
aspellDicts.de
|
||||
aspellDicts.en
|
||||
aspellDicts.la
|
||||
daybook
|
||||
memo
|
||||
qrencode
|
||||
unstable.hledger
|
||||
wordnet
|
||||
xsv
|
||||
];
|
||||
}
|
||||
6
systems/slim.nix
Normal file
6
systems/slim.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../configs/base
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user