flakes and unstable obs
This commit is contained in:
parent
81236ecfe6
commit
76654b249c
|
@ -2,8 +2,13 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, kaokao, ... }:
|
||||
|
||||
let
|
||||
unstableTarball =
|
||||
fetchTarball
|
||||
https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
|
@ -11,6 +16,10 @@
|
|||
./hostname.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"python-2.7.18.6"
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
@ -18,7 +27,9 @@
|
|||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
|
||||
# enables flakes
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
@ -139,6 +150,13 @@
|
|||
# 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; [
|
||||
|
@ -154,11 +172,10 @@
|
|||
i3status-rust
|
||||
lxappearance
|
||||
feh
|
||||
rofimoji
|
||||
kaokao.packages.${pkgs.system}.default
|
||||
|
||||
# streaming / gamign
|
||||
obs-studio
|
||||
obs-studio-plugins.obs-source-record
|
||||
unstable.obs-studio
|
||||
steam
|
||||
lutris
|
||||
joycond
|
||||
|
@ -245,6 +262,7 @@
|
|||
anki-bin
|
||||
syncplay
|
||||
tor-browser-bundle-bin
|
||||
xclip
|
||||
];
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-22.11";
|
||||
supercolor.url = github:zoe-bat/supercolor;
|
||||
kaokao.url = github:zoe-bat/kaokao;
|
||||
};
|
||||
outputs =
|
||||
{ self
|
||||
, nixpkgs
|
||||
, supercolor
|
||||
, kaokao
|
||||
}@inputs: {
|
||||
nixosConfigurations.queer-utopia = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
];
|
||||
specialArgs = inputs;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue