Compare commits

...

3 commits

Author SHA1 Message Date
Harald Hoyer 3bece5697b chore: flake update 2024-01-23 12:45:34 +01:00
Harald Hoyer cc6fc792d6 feat: use nix-ld 2024-01-23 12:45:22 +01:00
Harald Hoyer e2951dc702 feat: allow unfree 2024-01-23 12:45:00 +01:00
3 changed files with 27 additions and 6 deletions

View file

@ -608,11 +608,11 @@
]
},
"locked": {
"lastModified": 1705476964,
"narHash": "sha256-W5OK1fnj4qdn1HWOlxV2S3YiUvfaVjQM5ldWVpGV1fs=",
"lastModified": 1705659542,
"narHash": "sha256-WA3xVfAk1AYmFdwghT7mt/erYpsU6JPu9mdTEP/e9HQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "85c3b600f660abd86e94cbcd1c46733943197a07",
"rev": "10cd9c53115061aa6a0a90aad0b0dde6a999cdb9",
"type": "github"
},
"original": {
@ -1084,11 +1084,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1705331948,
"narHash": "sha256-qjQXfvrAT1/RKDFAMdl8Hw3m4tLVvMCc8fMqzJv0pP4=",
"lastModified": 1705458851,
"narHash": "sha256-uQvEhiv33Zj/Pv364dTvnpPwFSptRZgVedDzoM+HqVg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b8dd8be3c790215716e7c12b247f45ca525867e2",
"rev": "8bf65f17d8070a0a490daf5f1c784b87ee73982c",
"type": "github"
},
"original": {

View file

@ -61,6 +61,7 @@ in
auto-optimise-store = true;
trusted-users = users;
allowed-users = users;
allowUnfree = true;
substituters =
[ cfg.default-substituter.url ]

View file

@ -94,6 +94,24 @@ with lib.plusultra;
flake = "git+https://git.hoyer.xyz/harald/nixcfg#sgx-nixos";
};
programs.nix-ld.enable = true;
# Sets up all the libraries to load
programs.nix-ld.libraries = with pkgs; [
stdenv.cc.cc
libclang.lib
zlib
fuse3
icu
nss
curl
expat
freetype
glib
openssl
# ...
];
security = {
sudo = {
enable = true;
@ -114,6 +132,8 @@ with lib.plusultra;
tpm2-tools
vim
wget
clang
pkg-config
];
environment.shells = [ pkgs.fish pkgs.bash ];