formatting

This commit is contained in:
Daylin Morgan 2022-11-04 13:02:24 +00:00
parent d76d627eb1
commit d577ef2129
4 changed files with 50 additions and 26 deletions

View file

@ -15,7 +15,7 @@
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
programs.nix-ld.enable = true; # programs.nix-ld.enable = true;
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
@ -78,7 +78,7 @@
nixpkgs-fmt nixpkgs-fmt
autorandr autorandr
wezterm # wezterm
eww eww
rofi rofi
picom picom
@ -89,25 +89,11 @@
]; ];
## make qtile's python handle the extra dependency
#nixpkgs.overlays = [
#(self: super: {
#qtile = super.qtile.overrideAttrs(oldAttrs: {
#pythonPath = oldAttrs.pythonPath ++ (with self.python3Packages; [
#tomli
#]);
#});
#
#})];
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; }) (nerdfonts.override { fonts = [ "FiraCode" ]; })
]; ];
environment.variables = { environment.variables = {
NIX_LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ NIX_LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
stdenv.cc.cc stdenv.cc.cc

View file

@ -1,25 +1,62 @@
{ {
"nodes": { "nodes": {
"nix-ld": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1652641841,
"narHash": "sha256-TTBz20XR2vmvOSDu8hXcbHbOEI0t/IWq8vZuRKyep1E=",
"owner": "Mic92",
"repo": "nix-ld",
"rev": "c25cc4b5ec65f03c2bb96f927ae724a59c51d7ee",
"type": "github"
},
"original": {
"owner": "Mic92",
"repo": "nix-ld",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1603153815, "lastModified": 1667518366,
"narHash": "sha256-uCav0CJ0Zm0vbqJiS9NUYD4XZg4Ww9bbsFzcDUzh2+U=", "narHash": "sha256-BOkyI/yJFSTVESvojmv6uP5nuYunn2ZoUHJoMwN3Ufs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "007126eef72271480cb7670e19e501a1ad2c1ff2", "rev": "ec8c2ba98d5020318a9d5635918861b494aa6831",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "nixos-unstable", "ref": "master",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"root": { "root": {
"inputs": { "inputs": {
"nix-ld": "nix-ld",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
},
"utils": {
"locked": {
"lastModified": 1652372896,
"narHash": "sha256-lURGussfF3mGrFPQT3zgW7+RC0pBhbHzco0C7I+ilow=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "0d347c56f6f41de822a4f4c7ff5072f3382db121",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -2,7 +2,7 @@
description = "An example NixOS configuration"; description = "An example NixOS configuration";
inputs = { inputs = {
nixpkgs = { url = "github:nixos/nixpkgs/nixos-unstable"; }; nixpkgs = { url = "github:nixos/nixpkgs/master"; };
nix-ld = { nix-ld = {
url = "github:Mic92/nix-ld"; url = "github:Mic92/nix-ld";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -20,7 +20,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./configuration.nix ./configuration.nix
nix-ld.nixosModules.nix-ld inputs.nix-ld.nixosModules.nix-ld
]; ];
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };

View file

@ -12,18 +12,19 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/07e57f41-bbe1-4e4e-950b-9be902bc6484"; {
device = "/dev/disk/by-uuid/07e57f41-bbe1-4e4e-950b-9be902bc6484";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0F7D-6BD7"; {
device = "/dev/disk/by-uuid/0F7D-6BD7";
fsType = "vfat"; fsType = "vfat";
}; };
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/9a725db7-d6dd-42a6-b13a-920eada1c154"; } [{ device = "/dev/disk/by-uuid/9a725db7-d6dd-42a6-b13a-920eada1c154"; }];
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # 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 # (the default) this is the recommended approach. When using systemd-networkd it's