many misc things

This commit is contained in:
Daylin Morgan 2024-02-15 10:28:25 -06:00
parent 7bb65df2e0
commit 32d3ab71e8
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
6 changed files with 67 additions and 21 deletions

View file

@ -65,11 +65,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1707586793, "lastModified": 1708006940,
"narHash": "sha256-Vdf5QGzkZe6UUdVZ80YT78id7Yw5ww9Fku0rEyPAkCg=", "narHash": "sha256-jod61azkh2e2kTSM+e0YxXwXbw0fjBROF/wFxt/3CK8=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "e4bb5fa4af1a6c36aab1c28651b5403dc4952f93", "rev": "a8dae8f5e198327e5de8508d860234089f31e272",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -152,11 +152,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1707048513, "lastModified": 1707653303,
"narHash": "sha256-gZh1mHkjtOmXrlgWWdl6G27NlKuNuruz1lOnhgmg1Nk=", "narHash": "sha256-DSnssBCh1rPPyxGxFawGzWJjfmDB5AL18QHzzDMarqc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "lib-aggregate", "repo": "lib-aggregate",
"rev": "83a014ca34f5cf6ef441b760e12d503856f20b35", "rev": "48d8001225a9148f1a97ee519ad53d8272cd8c73",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -211,11 +211,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1707451808, "lastModified": 1707939175,
"narHash": "sha256-UwDBUNHNRsYKFJzyTMVMTF5qS4xeJlWoeyJf+6vvamU=", "narHash": "sha256-D1xan0lgxbmXDyzVqXTiSYHLmAMrMRdD+alKzEO/p3w=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "442d407992384ed9c0e6d352de75b69079904e4e", "rev": "f7e8132daca31b1e3859ac0fb49741754375ac3d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -227,11 +227,11 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1707007541, "lastModified": 1707612395,
"narHash": "sha256-fuFppCuZO4wJAfodUkiWhtSxTb+pkBW+lJP2S51jRNU=", "narHash": "sha256-iqWiOQY+OwL0Yqdqy1dEWsMMpht+0eSlmtpZ5Rws16Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs.lib", "repo": "nixpkgs.lib",
"rev": "948ff77600f9fff8c904d1e1ffb87a60773991af", "rev": "240f2ff0ed2aac2b91efa29ba3d325526824205b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -252,11 +252,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1707567920, "lastModified": 1708011365,
"narHash": "sha256-svWRgfOUaBsEyUwos8jdicrb93lOeTspkMzWL0sdqkA=", "narHash": "sha256-7kKkEQ/+pKtgUqBIxFgfEDcLwTHXvCPs8aFb0h3Km+8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "08e7225b6fb9aa42be1bef2dff6477a240f1ac2e", "rev": "4b035077b1e75e8f4d5ff3abb61ad630ec5327c6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -265,13 +265,35 @@
"type": "github" "type": "github"
} }
}, },
"pinix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_3"
},
"locked": {
"lastModified": 1707852451,
"narHash": "sha256-6FkObpMDcQJ53Wfzs/uWzk9JapQQ72UuJ6DRrMDRbY0=",
"owner": "daylinmorgan",
"repo": "pinix",
"rev": "f148a5dbc84e53dbcc1cb983bb80c65df620616d",
"type": "github"
},
"original": {
"owner": "daylinmorgan",
"repo": "pinix",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-contrib": "hyprland-contrib", "hyprland-contrib": "hyprland-contrib",
"nix-eval-jobs": "nix-eval-jobs", "nix-eval-jobs": "nix-eval-jobs",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nixpkgs-wayland": "nixpkgs-wayland" "nixpkgs-wayland": "nixpkgs-wayland",
"pinix": "pinix"
} }
}, },
"systems": { "systems": {
@ -304,6 +326,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -361,11 +398,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1706145785, "lastModified": 1706521509,
"narHash": "sha256-j9MP4fv2U/vdRKAXXc2gyMTmYwVnHP6kHx1/y6jprrU=", "narHash": "sha256-AInZ50acOJ3wzUwGzNr1TmxGTMx+8j6oSTzz4E7Vbp8=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "5a592647587cd20b9692a347df6939b6d371b3bb", "rev": "c06fd88b3da492b8f9067be021b9184f7012b5a8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -12,6 +12,10 @@
nixpkgs-wayland.inputs.nix-eval-jobs.follows = "nix-eval-jobs"; nixpkgs-wayland.inputs.nix-eval-jobs.follows = "nix-eval-jobs";
nix-eval-jobs.url = "github:nix-community/nix-eval-jobs"; nix-eval-jobs.url = "github:nix-community/nix-eval-jobs";
nix-eval-jobs.inputs.nixpkgs.follows = "nixpkgs"; nix-eval-jobs.inputs.nixpkgs.follows = "nixpkgs";
# https://github.com/remi-dupre/pinix/pull/2
pinix.url = "github:daylinmorgan/pinix";
pinix.inputs.nixpkgs.follows = "nixpkgs";
}; };
nixConfig = { nixConfig = {

View file

@ -37,6 +37,7 @@
daylin = { daylin = {
extraGroups = ["docker"]; extraGroups = ["docker"];
}; };
git = { git = {
isNormalUser = true; isNormalUser = true;
}; };

View file

@ -7,8 +7,9 @@
nix-ld nix-ld
virtualbox virtualbox
restic restic
docker
]; ];
nixpkgs.overlays = [inputs.pinix.overlays.default];
cli.enable = true; cli.enable = true;
desktop.enable = true; desktop.enable = true;
@ -24,6 +25,7 @@
zk zk
rclone rclone
quarto quarto
pinix
]; ];
programs.hyprland.enable = true; programs.hyprland.enable = true;
@ -38,6 +40,7 @@
}; };
users.users.daylin.extraGroups = [ users.users.daylin.extraGroups = [
"docker"
"audio" "audio"
]; ];
} }

View file

@ -12,7 +12,7 @@
name = "lock"; name = "lock";
runtimeInputs = with pkgs; [swaylock]; runtimeInputs = with pkgs; [swaylock];
text = '' text = ''
swaylock -c 1e1e2e swaylock -c 1e1e2e
''; '';
}; };
in { in {

View file

@ -22,6 +22,7 @@ in {
shell = pkgs.zsh; shell = pkgs.zsh;
extraGroups = [ extraGroups = [
"wheel" # sudo "wheel" # sudo
"docker"
]; ];
initialPassword = "nix"; initialPassword = "nix";
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [