fix shit
This commit is contained in:
@@ -13,7 +13,7 @@ cd dotfiles
|
|||||||
nixos-rebuild switch --flake .#Satori
|
nixos-rebuild switch --flake .#Satori
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
`nixos-rebuild switch --flake github:natto1784/dotfiles#Satori`
|
`nixos-rebuild switch --flake github:natto1784/dotfiles#Satori`\
|
||||||
Replace Satori with whatever system you want or replace to whatever hostname you want in the config
|
Replace Satori with whatever system you want or replace to whatever hostname you want in the config
|
||||||
|
|
||||||
## How home-manager workey
|
## How home-manager workey
|
||||||
@@ -27,7 +27,7 @@ You can unlink "hm-result" after that
|
|||||||
replace {USER} with 'natto' or whatever is availabe (or change it in the config)
|
replace {USER} with 'natto' or whatever is availabe (or change it in the config)
|
||||||
|
|
||||||
## How packages workey
|
## How packages workey
|
||||||
To build or run any of the packages in this flake do
|
To build or run any of the packages in this flake do\
|
||||||
`nix <"run"/"build"> github:natto1784/dotfiles#pkgs.<your_arch>.<package_name>`
|
`nix <"run"/"build"> github:natto1784/dotfiles#pkgs.<your_arch>.<package_name>`
|
||||||
|
|
||||||
Following are the people whose configs I took inspiration from and learned stuff from
|
Following are the people whose configs I took inspiration from and learned stuff from
|
||||||
|
@@ -20,15 +20,13 @@
|
|||||||
|
|
||||||
outputs = inputs@{self, nixpkgs, ... }:
|
outputs = inputs@{self, nixpkgs, ... }:
|
||||||
inputs.utils.lib.eachDefaultSystem (system: {
|
inputs.utils.lib.eachDefaultSystem (system: {
|
||||||
pkgs = import nixpkgs {
|
packages = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = self.overlays ++ [ inputs.nur.overlay inputs.emacs.overlay ];
|
overlays = self.overlays ++ [ inputs.nur.overlay inputs.emacs.overlay ];
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
}) //
|
}) //
|
||||||
(
|
(
|
||||||
let
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
overlays = [
|
overlays = [
|
||||||
(import ./overlays/overridesandshit.nix)
|
(import ./overlays/overridesandshit.nix)
|
||||||
@@ -41,7 +39,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./home/natto.nix
|
./home/natto.nix
|
||||||
];
|
];
|
||||||
nixpkgs.overlays = self.pkgs.x86_64-linux.overlays;
|
nixpkgs.overlays = self.packages.x86_64-linux.overlays;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
homeDirectory = "/home/natto";
|
homeDirectory = "/home/natto";
|
||||||
@@ -55,7 +53,7 @@
|
|||||||
./satori.nix
|
./satori.nix
|
||||||
inputs.agenix.nixosModules.age
|
inputs.agenix.nixosModules.age
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
{ nixpkgs.pkgs = self.pkgs.x86_64-linux; }
|
{ nixpkgs.pkgs = self.packages.x86_64-linux; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
@@ -22,6 +22,7 @@ in
|
|||||||
fish_variables = {
|
fish_variables = {
|
||||||
file = ./secrets/fish_variables.age;
|
file = ./secrets/fish_variables.age;
|
||||||
path = "${home}/.config/fish/fish_variables";
|
path = "${home}/.config/fish/fish_variables";
|
||||||
|
mode = "660";
|
||||||
};
|
};
|
||||||
mpdasrc = {
|
mpdasrc = {
|
||||||
file = ./secrets/mpdasrc.age;
|
file = ./secrets/mpdasrc.age;
|
||||||
|
@@ -62,8 +62,8 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
viAlias = false;
|
viAlias = false;
|
||||||
withNodeJs = true;
|
# withNodeJs = true;
|
||||||
withPython = true;
|
# withPython = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
let g:gruvbox_italic=1
|
let g:gruvbox_italic=1
|
||||||
let g:gruvbox_contrast_dark="hard"
|
let g:gruvbox_contrast_dark="hard"
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env sh
|
||||||
#! nix-shell -i sh -p ncmpcpp python39Packages.ueberzug
|
|
||||||
#credits: https://github.com/alnj/ncmpcpp-ueberzug
|
#credits: https://github.com/alnj/ncmpcpp-ueberzug
|
||||||
export FIFO_UEBERZUG="/tmp/mpd-ueberzug-${PPID}"
|
export FIFO_UEBERZUG="/tmp/mpd-ueberzug-${PPID}"
|
||||||
|
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047";
|
{ device = "/dev/disk/by-uuid/4c02ddf5-d00e-4d84-856f-c327ae44d047";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = ["compress=zstd:10"];
|
options = ["compress-force=zstd:4"];
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot/efi" =
|
fileSystems."/boot/efi" =
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
fileSystems."/mnt/LinuxGames" =
|
fileSystems."/mnt/LinuxGames" =
|
||||||
{ device = "/dev/sda5";
|
{ device = "/dev/sda5";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = ["rw"];
|
options = ["rw" "compress-force=zstd:4"];
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices = [ {device = "/dev/nvme0n1p7";} ];
|
swapDevices = [ {device = "/dev/nvme0n1p7";} ];
|
||||||
|
Reference in New Issue
Block a user