yay
This commit is contained in:
parent
76654b249c
commit
ee1eaa4ec1
|
@ -2,13 +2,8 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, kaokao, ... }:
|
||||
{ config, pkgs, kaokao, tree-sitter-typst, ... }:
|
||||
|
||||
let
|
||||
unstableTarball =
|
||||
fetchTarball
|
||||
https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
|
@ -25,7 +20,17 @@ in
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.systemd-boot.configurationLimit = 42;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
environment.sessionVariables = {
|
||||
DOTNET_ROOT = "${pkgs.dotnet-sdk}";
|
||||
};
|
||||
|
||||
services.flatpak.enable = true;
|
||||
xdg.portal.enable = true;
|
||||
|
||||
services.udev.enable = true;
|
||||
services.udev.packages = [pkgs.arduino];
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
# enables flakes
|
||||
|
@ -77,7 +82,13 @@ in
|
|||
|
||||
};
|
||||
|
||||
|
||||
xdg.mime.defaultApplications = {
|
||||
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop";
|
||||
"x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop";
|
||||
};
|
||||
# enable the fish
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
|
||||
|
@ -138,7 +149,7 @@ in
|
|||
users.users.tess = {
|
||||
isNormalUser = true;
|
||||
description = "tess";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "dialout" ];
|
||||
packages = with pkgs; [
|
||||
firefox
|
||||
# thunderbird
|
||||
|
@ -150,13 +161,6 @@ in
|
|||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nixpkgs.config = {
|
||||
packageOverrides = pkgs: with pkgs; {
|
||||
unstable = import unstableTarball {
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
};
|
||||
};
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
@ -173,13 +177,13 @@ in
|
|||
lxappearance
|
||||
feh
|
||||
kaokao.packages.${pkgs.system}.default
|
||||
tree-sitter-typst
|
||||
|
||||
# streaming / gamign
|
||||
unstable.obs-studio
|
||||
steam
|
||||
lutris
|
||||
joycond
|
||||
linuxKernel.packages.linux_5_15.hid-nintendo
|
||||
wineWowPackages.stable
|
||||
winetricks
|
||||
flitter
|
||||
|
@ -202,28 +206,36 @@ in
|
|||
|
||||
#progaming
|
||||
git
|
||||
helix
|
||||
unstable.helix
|
||||
rustup
|
||||
godot_4
|
||||
nodejs
|
||||
python38
|
||||
python310
|
||||
python310Packages.adblock
|
||||
cope
|
||||
arduino
|
||||
#language servers
|
||||
rust-analyzer
|
||||
lldb #not a langage server but w/e
|
||||
nodePackages.vscode-langservers-extracted
|
||||
texlab
|
||||
unstable.typst-lsp
|
||||
|
||||
# creative
|
||||
gimp
|
||||
libsForQt5.kdenlive
|
||||
aseprite-unfree
|
||||
darktable
|
||||
krita
|
||||
blender
|
||||
# vrchat
|
||||
dotnet-sdk
|
||||
#dotnet-runtime
|
||||
|
||||
# university
|
||||
texlive.combined.scheme-full
|
||||
unstable.typst
|
||||
pgadmin4
|
||||
postgresql
|
||||
haskellPackages.Monadoro
|
||||
# java
|
||||
jdk
|
||||
eclipses.eclipse-java
|
||||
|
@ -247,7 +259,7 @@ in
|
|||
keepassxc
|
||||
gnome.geary
|
||||
gnome.gnome-keyring
|
||||
mpv
|
||||
unstable.mpv
|
||||
ungoogled-chromium
|
||||
gnome.gnome-calculator
|
||||
cmus
|
||||
|
@ -263,6 +275,10 @@ in
|
|||
syncplay
|
||||
tor-browser-bundle-bin
|
||||
xclip
|
||||
evince
|
||||
flatpak
|
||||
sox
|
||||
unstable.typst-lsp
|
||||
];
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,96 @@
|
|||
{
|
||||
"nodes": {
|
||||
"kaokao": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1679323951,
|
||||
"narHash": "sha256-PGBwtjHKqzdYgZCjeIxXL53MiC8IH44AvOs7E2DZKzA=",
|
||||
"owner": "zoe-bat",
|
||||
"repo": "kaokao",
|
||||
"rev": "772156470c74322f78de7f9b7eb65422a29a9525",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "zoe-bat",
|
||||
"repo": "kaokao",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1678654296,
|
||||
"narHash": "sha256-aVfw3ThpY7vkUeF1rFy10NAkpKDS2imj3IakrzT0Occ=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "5a1dc8acd977ff3dccd1328b7c4a6995429a656b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1679224734,
|
||||
"narHash": "sha256-1Ab3xY7Wgo1h1TNwRt6fp2XjV+KUo+hP1Bolh0KiDJs=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "eac7da7b519a5aefe92c33c90b4450a24ebe0ab3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"id": "nixpkgs",
|
||||
"ref": "nixos-22.11",
|
||||
"type": "indirect"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1677624842,
|
||||
"narHash": "sha256-4DF9DbDuK4/+KYx0L6XcPBeDHUFVCtzok2fWtwXtb5w=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d70f5cd5c3bef45f7f52698f39e7cc7a89daa7f0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-22.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"kaokao": "kaokao",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"supercolor": "supercolor"
|
||||
}
|
||||
},
|
||||
"supercolor": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1678017184,
|
||||
"narHash": "sha256-yPctZg3HOor0IxXkuJKXp75P0ingCS2awDcmLaelpsg=",
|
||||
"owner": "zoe-bat",
|
||||
"repo": "supercolor",
|
||||
"rev": "febfb1bb1e503d2197cbea00744b8e522f450468",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "zoe-bat",
|
||||
"repo": "supercolor",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
17
flake.nix
17
flake.nix
|
@ -1,18 +1,33 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-22.11";
|
||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||||
supercolor.url = github:zoe-bat/supercolor;
|
||||
kaokao.url = github:zoe-bat/kaokao;
|
||||
tree-sitter-typst.url = github:SeniorMars/tree-sitter-typst;
|
||||
};
|
||||
outputs =
|
||||
{ self
|
||||
, nixpkgs
|
||||
, nixpkgs-unstable
|
||||
, supercolor
|
||||
, kaokao
|
||||
}@inputs: {
|
||||
, tree-sitter-typst
|
||||
}@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations.queer-utopia = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
./configuration.nix
|
||||
];
|
||||
specialArgs = inputs;
|
||||
|
|
Loading…
Reference in New Issue