my nixos and home-manager config files
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kay f3d3a813e0 license typo 5 months ago
home-manager newlicense 5 months ago
nixos newlicense 5 months ago
virt-manager newlicense 5 months ago
wallpapers newlicense 5 months ago
.README.template.md newlicense 5 months ago
.gitlab-ci.yml newlicense 5 months ago
CHANGELOG.md newlicense 5 months ago
LICENSE license typo 5 months ago
README.md newlicense 5 months ago

README.md

nixos-config

my nixos and home-manager config files

install

desktop

$ git clone https://code.eutychia.org/kay/nixos-config.git

$ cd nixos-config

$ sudo ln -sf $PWD/nixos/configuration.nix /etc/nixos/configuration.nix

$ sudo nixos-rebuild switch

# Install home-manager at this point

$ ln -sf $PWD/home-manager/home.nix $HOME/.config/nixpgs/home.nix

$ home-manager switch

desktop vfio

$ git clone https://code.eutychia.org/kay/nixos-config.git

$ cd nixos-config

$ sudo ln -sf $PWD/nixos/configuration-vfio.nix /etc/nixos/configuration.nix

$ sudo nixos-rebuild switch # and probably reboot at this point

# Install home-manager at this point

$ ln -sf $PWD/home-manager/home.nix $HOME/nixpgs/home.nix

$ home-manager switch

surface

You will also need nixos-surface

Builds are distributed to the builder host.

$ git clone https://code.eutychia.org/kay/nixos-config.git

$ cd nixos-config

$ sudo ln -sf $PWD/nixos/configuration-surface.nix /etc/nixos/configuration.nix

$ sudo nixos-rebuild switch

# Install home-manager at this point

$ ln -sf $PWD/home-manager/home.nix $HOME/.config/nixpgs/home.nix

$ env CURRENT_HOST=surface home-manager switch

features

  • desktop
  • ms surface
  • vfio vm
  • Use the Desktop machine as a Parsec host to stream games to the Surface machine via a KVM Windows VM with VFIO GPU passthrough.
  • Sample virt-manager XML included in virt-manager/vfio-windows.xml. Works perfect with latest nvidia drivers and Parsec host.

screenshots

desktop

desktop screen

surface

desktop screen screen

vfio

screen screen

todos

  • update nixos-surface
    • kernel
    • libwacom
    • ipts firmware
  • DRY up
    • X/noX module
    • better way than env var deal with different hosts
  • create a module for 2x scaled wallpapers and only include x1 assets in repo and compile 2x assets at build on HiDPI screens
  • create a module to bootstrap win10 vfio qemu vm with virsh
    • win 10 iso dl
    • proxmox latest virtio drivers iso download
    • auto dump/patch gpu rom

License

Most all of my work is now licensed under a modified CC-BY-NC-SA 4.0 AFEdit plus accounting for states existing in our world on top of capitalism.

This is a weird choice for code right?

Here are a few key reasons:

  • my definition of "open" involves being able to share and modify, you are able to do such things, just not make money off of it, or oppress people
  • my definition of "free" involves being able to share and modify, you are able to do such things, not just make money off of it, or oppressing people

So no, amongst other things, this list is not exhaustive,

  • you cannot have somebody work on my tool and redistribute it to your employees
  • you cannot resell copies of this because in this age distribution is not done with floppy disks and the internet is a thing
  • you cannot use it to generate revenue yourself
  • you cannot use it to "generate value" in a capitalistic sense
  • you cannot use it in any military capacity
  • you cannot use it in any law enforcement capacity
  • you cannot use it in any state backed capacity
  • you cannot use it in any surveillance capacity
  • you cannot use it if you represent the interests of a state
  • you cannot use it to oppress, spy, control in any capacity
  • you cannot use it to injure, harm, kill, whether physically or psychologically

You can, however,

  • change it to do whatever you please
  • share it to anyone you please with attribution and under the same license
  • use it as much as you please
  • and probably a bunch of other cool things that are possible outside of a capitalistic, imperialistic frame of reference that permeates the tech scene

Most of the "arguments" for how "free" and "open" source licenses are done still to this day stem from archaic concepts that might not even be relevant these days and I fail to see the issue with this license not being "interoperable" with a bunch of what I deem to be "bad" licenses, as they all allow for commercial usage.

I also will not make any attempts to monetize these works and will at most ever offer the possibility to donate to me directly if you enjoy what I do.

Thank you that is all.

Development

To clone the repository locally:

$ git clone https://code.juke.fr/kay/nixos-config.git

Contributing

More to come later.

Issues

Open new issues by mailing eutychia.gitlab+nixos-config-issue@gmail.com


beep boop