Compare commits

...

6 commits

Author SHA1 Message Date
Anish Lakhwara 45e402d44d add nixos-hardware 2023-01-10 21:31:20 +10:00
Anish Lakhwara 9a7c2b11ad remove broken color script from taskwarrior 2023-01-10 21:31:20 +10:00
Anish Lakhwara d72e11cebe go back to greeters.mini 2023-01-10 21:31:05 +10:00
Anish Lakhwara 0c7daf7530 fix up curve-hardware 2023-01-10 21:19:56 +10:00
Anish Lakhwara 105fe00a81 add taskwarrior-tui 2023-01-10 21:19:46 +10:00
Anish Lakhwara 18f336cbd6 update curve wg password 2023-01-10 21:16:48 +10:00
8 changed files with 64 additions and 53 deletions

View file

@ -327,6 +327,22 @@
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1672644464,
"narHash": "sha256-RYlvRMcQNT7FDoDkViijQBHg9g+blsB+U6AvL/gAsPI=",
"owner": "NixOS",
"repo": "nixos-hardware",
"rev": "ca29e25c39b8e117d4d76a81f1e229824a9b3a26",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"repo": "nixos-hardware",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1662099760,
@ -345,11 +361,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1670193339,
"narHash": "sha256-oHTAhX4p6+uxcabq0rKL4EyKWPbDLGKec88ocPIU/2Y=",
"lastModified": 1672844754,
"narHash": "sha256-o26WabuHABQsaHxxmIrR3AQRqDFUEdLckLXkVCpIjSU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "e169cf5b3b1e6cc4a25ff15087c2621605f83409",
"rev": "e9ade2c8240e00a4784fac282a502efff2786bdc",
"type": "github"
},
"original": {
@ -419,6 +435,7 @@
"hardware": "hardware",
"home-manager": "home-manager",
"nix-matrix-appservices": "nix-matrix-appservices",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_2",
"nur": "nur",
"poonam": "poonam",
@ -510,11 +527,11 @@
},
"unstable": {
"locked": {
"lastModified": 1670152712,
"narHash": "sha256-LJttwIvJqsZIj8u1LxVRv82vwUtkzVqQVi7Wb8gxPS4=",
"lastModified": 1672791794,
"narHash": "sha256-mqGPpGmwap0Wfsf3o2b6qHJW1w2kk/I6cGCGIU+3t6o=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "14ddeaebcbe9a25748221d1d7ecdf98e20e2325e",
"rev": "9813adc7f7c0edd738c6bdd8431439688bb0cb3d",
"type": "github"
},
"original": {

View file

@ -5,6 +5,7 @@
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
# Home manager
home-manager.url = "github:nix-community/home-manager";
@ -52,6 +53,7 @@
{ self
, nixpkgs
, unstable
, nixos-hardware
, home-manager
, deploy-rs
, agenix
@ -145,6 +147,7 @@
agenix.nixosModules.age
self.nixosModules.backup
self.nixosModules.wireguard
nixos-hardware.nixosModules.lenovo-thinkpad-x270
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;

View file

@ -57,6 +57,8 @@
#ssb-patchwork
fontconfig
pandoc
taskwarrior-tui
(pkgs.writeScriptBin "jq-repl" ''
#!/usr/bin/env bash
if [[ -z $1 ]] || [[ $1 == "-" ]]; then
@ -133,15 +135,6 @@
TERMINFO_DIRS = "${pkgs.kitty.terminfo.outPath}/share/terminfo"; # Needed to run home-manager switch on non-nixOS
};
plugins = [
{
name = "zsh-autocomplete";
src = pkgs.fetchFromGitHub {
owner = "marlonrichert";
repo = "zsh-autocomplete";
rev = "22.01.21";
sha256 = "+UziTYsjgpiumSulrLojuqHtDrgvuG91+XNiaMD7wIs=";
};
}
{
name = "zsh-autopair";
src = pkgs.fetchFromGitHub {
@ -273,10 +266,10 @@
nepl = "n repl '<nixpkgs>'";
srch = "ns nixpkgs";
orch = "ns override";
nrb = "cd /tmp; sudo nixos-rebuild switch --flake '/etc/nixos/#curve'; cd $OLDPWD";
nrt = "cd /tmp; sudo nixos-rebuild test --flake '/etc/nixos/#curve'; cd $OLDPWD";
ned = "cd /etc/nixos; vim; cd $OLDPWD";
ncd = "cd /etc/nixos";
nrb = "cd /tmp; sudo nixos-rebuild switch --flake '/home/anish/usr/helm#curve'; cd $OLDPWD";
nrt = "cd /tmp; sudo nixos-rebuild test --flake '/home/anish/usr/helm#curve'; cd $OLDPWD";
ned = "cd /home/anish/usr/helm; vim; cd $OLDPWD";
ncd = "cd /home/anish/usr/helm";
mn = ''
manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | sk --preview="manix '{}'" | xargs manix
'';

View file

@ -29,7 +29,7 @@ taskd.credentials=mossnet\/anish\/1647259c-e340-405c-a38b-11ac18e34688
#include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-green-256.theme
#include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-blue-256.theme
# TODO this needs to be not a hardlink but a nix link
include /nix/store/64nvv0ac2dr8rdz2414f53x97j3msiz0-taskwarrior-2.6.2/share/doc/task/rc/dark-violets-256.theme
# include /nix/store/64nvv0ac2dr8rdz2414f53x97j3msiz0-taskwarrior-2.6.2/share/doc/task/rc/dark-violets-256.theme
#include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-yellow-green.theme
#include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-gray-256.theme
#include /nix/store/nv662d85k32kkpqidrj64qy1lnihac4c-taskwarrior-2.5.3/share/doc/task/rc/dark-gray-blue-256.theme

View file

@ -14,38 +14,38 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/2C41-3DAA";
fsType = "vfat";
};
fileSystems."/" =
{
device = "/dev/disk/by-uuid/74ba39ee-35cd-4b87-9ee9-651384fa55bd";
device = "/dev/disk/by-uuid/a4ae2855-10b9-49f3-adb0-acd82b74eeb9";
fsType = "btrfs";
options = [ "subvol=root" ];
};
fileSystems."/home" =
{
device = "/dev/disk/by-uuid/74ba39ee-35cd-4b87-9ee9-651384fa55bd";
device = "/dev/disk/by-uuid/a4ae2855-10b9-49f3-adb0-acd82b74eeb9";
fsType = "btrfs";
options = [ "subvol=home" ];
};
fileSystems."/boot" =
{
device = "/dev/disk/by-uuid/87DA-98E7";
fsType = "vfat";
};
swapDevices =
[{ device = "/dev/disk/by-uuid/c36e3ba9-8eee-4fbf-837c-7e1cfda33f09"; }];
[{ device = "/dev/disk/by-uuid/23658926-6ffa-42dc-8915-a6479c385e0b"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
# networking.useDHCP = lib.mkDefault true;
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nixpkgs.hostPlatform = "x86_64-linux";
# hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -170,16 +170,16 @@ in
lightdm = {
enable = true;
background = "/etc/nixos/users/profiles/desktop/background.jpg";
greeters.mini = {
enable = true;
user = "anish";
extraConfig = ''
text-color = "#ff79c6"
password-background-color = "#1E2029"
window-color = "#181a23"
border-color = "#181a23"
'';
};
# greeters.mini = {
# enable = true;
# user = "anish";
# extraConfig = ''
# text-color = "#ff79c6"
# password-background-color = "#1E2029"
# window-color = "#181a23"
# border-color = "#181a23"
# '';
# };
};
};
windowManager.bspwm.enable = true;

View file

@ -1,11 +1,9 @@
age-encryption.org/v1
-> ssh-ed25519 0Digeg AOQZQPRozBRQA5FmG0LRaJL1jldrvnqJdnLxLftm0Gw
Snz6MGd/KZfvk4ZxFn7xEeSQg7xNZelDwDsRRBOvdC8
-> ssh-ed25519 iQshAw FUyM7P2B9+gXi7XkehToM/0bQmf4HfuUk5azNvbfmDA
FkD+7klQ1TlTeqnzK0j1bCd814A8c9ostTlRMtZji38
-> sT2qSf;g-grease 5X|? UsL&L>qQ Li
VpBYf+9n9HkrchvrwOV4xXJEKuA0rozU9VvnGytKkGQMPvBKauqF3jPgbRL7PuIE
7rOBN8gSlaC2GjSpT0jIQbVWKCGEJF9JCGZ/lMNspG9lXdGKKWgD
--- SOtnnr/Al0QpvMWVE3fx7CvdGuKdy++JCz/jiG1VZEY
ţ=(J"Ş ĂÄ~c'<27>x ®†˛#]ńy”Gë™îÇáĂ €sž.*Č<Hjp
ą>€Aóoź%]z1ŹWz}Čţ®R6sÖV7v)ĂŞ
-> ssh-ed25519 H6uv4Q Whar4hMPZxYi9ejXjeUyE7KPHQXD1/zQys5FAjBixmE
3D54HvIgnrVbTrcGy+ZItRrZYGsh5gVoh8Fnumf8RAc
-> ssh-ed25519 AiezdQ mGj7r1PZhpmuh0Qbu8YHzQ9ivUbxXZFAjmu0xUz7L3o
8xP3MDQEkvZCixQIbF5Rpo303RSj/61uXnGhOYtgeGM
-> |-grease 5t*+"`dV Y_s"p 4<v%R'\x
FtPL6uRW7Jds3YzMFtKHAKmHmYlv/ggGDJKhSsj2cg
--- SScbLeVK8pi0WGwUIKfIThDOpFOIiOAKBBKyl6ZSc44
n©Èî…\\ÄQäÄ/2±± Ý^jNÆ ŒzjóáèÑ…<C391>u8ÍÞÇ!ÕÕ!¦ž½¥èz„Wgð\¡å¡·<~y˜£‰…»

View file

@ -12,7 +12,7 @@ in
{
"fastmail.age".publicKeys = allUserKeys;
"mossnet.age".publicKeys = allUserKeys;
# "curve-wg.age".publicKeys = curve;
"curve-wg.age".publicKeys = curve;
"box-wg.age".publicKeys = [ mossnet ];
"wallabag-password.age".publicKeys = [ mossnet ];
"wallabag-secret.age".publicKeys = [ mossnet ];