Giter Club home page Giter Club logo

nix-config's Introduction

My NixOS configuration

DEPRECATED: See https://github.com/srid/nixos-config which uses flakes and is simple.

Setup

  1. First, copy the 'srid' user config to device, and activate that. We need to do this before cloning the repo under srid's home directory.

  2. Then, ssh as srid@... and:

sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
sudo nix-channel --update

ssh-keygen  # then, add to Github

nix-shell -p git -p vim
...
git clone [email protected]:srid/nix-config.git $HOME/nix-config
cd $HOME/nix-config 

# First, review ./hardware/???.nix
sudo mv /etc/nixos/hardware /tmp/
sudo ln -s $(pwd)/hardware/???.nix /etc/nixos/configuration.nix
make

Installing NixOS on ...

Thinkpad X1C7

https://notes.srid.ca/x1c7-install

Thinkpad P71

  • In BIOS, disable discrete graphics so intel card is used. We can change this post-install.
  • In BIOS, make the USB disk the highest startup priority
  • Follow the NixOS installation manual (choose UEFI), using /dev/nvme0n1 disk

Digital Ocean

Use nixos-infect.

nix-config's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nix-config's Issues

Thinkpad bluetooth keyboard disconnects periodically

[Mar14 09:37] Bluetooth: hci0 command 0x0c1a tx timeout
[ +11.740580] lenovo 0005:17EF:6048.0007: unknown main item tag 0x0
[  +0.000196] input: ThinkPad Compact Bluetooth Keyboard with TrackPoint as /devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0/hci0:256/0005:17EF:6048.0007/input/input17
[  +0.000455] lenovo 0005:17EF:6048.0007: input,hidraw3: BLUETOOTH HID v3.12 Keyboard [ThinkPad Compact Bluetooth Keyboard with TrackPoint] on 74:e5:f9:51:e8:3d

fetchGH

Why using your own fetcher when pkgs implements pkgs.fetchFromGitHub?

Apple -> Linux migration

Apps to migrate

  • Task management: Things -> ???
  • Password: 1Password -> ???
  • Mind maps: Mindnode -> ???
  • Journaling: DayOne -> ??

Long-term migration from Apple's ecosystem

  • Photos
  • FaceTime
  • iBooks purchases
  • [ ]

New workflows

  • CV & Invoice generation (cf. invoice-boilerplate)
  • Note taking and management
  • [ ]

questions about your Chrome OS setup

Hi Srid,

I'm a new Chrome OS user and I'd like to migrate (or rather, adapt) my NixOS config to Crostini's Debian.

I found your repo by searching for NixOS configs for Chrome OS, and I see it mentioned there, which makes me very optimistic, but leaves me with some questions:

  • What method of installation did you follow? Did you do a user-mode installation, or (don't think it's possible, but I wish) some sort of system installation (like nixos-in-place?). Ideally, could you kindly grep your shell history for the relevant commands so that I get an idea of your setup?
  • Is there anything about it you don't like (compared to an actual NixOS install)?

Thanks!

tmux clipboard copy

try this

bind-key -T copy-mode-vi 'y'   send-keys -X copy-pipe-and-cancel "xclip -i -selection clipboard"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.