Compare commits
4 commits
0bb17c2e91
...
1a6da08c20
Author | SHA1 | Date | |
---|---|---|---|
1a6da08c20 | |||
d5d9d71e65 | |||
c95fdb92b0 | |||
dccffdbc7d |
3 changed files with 52 additions and 42 deletions
49
flake.nix
49
flake.nix
|
@ -133,6 +133,30 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
isoimage = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
# ./configuration.nix
|
||||||
|
{
|
||||||
|
nix = {
|
||||||
|
extraOptions = "
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
";
|
||||||
|
};
|
||||||
|
programs = {
|
||||||
|
zsh = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
defaultUserShell = pkgs.zsh;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
nixps = nixpkgs.lib.nixosSystem {
|
nixps = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -173,28 +197,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
isoimage = nixpkgs.lib.nixosSystem {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = [
|
|
||||||
# ./configuration.nix
|
|
||||||
{
|
|
||||||
nix = {
|
|
||||||
extraOptions = "
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
";
|
|
||||||
};
|
|
||||||
programs = {
|
|
||||||
zsh = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
users = {
|
|
||||||
defaultUserShell = pkgs.zsh;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
packages.x86_64-linux = {
|
packages.x86_64-linux = {
|
||||||
|
@ -204,6 +206,9 @@
|
||||||
ps3dec = pkgs.callPackage ./home/packages/ps3dec/package.nix {};
|
ps3dec = pkgs.callPackage ./home/packages/ps3dec/package.nix {};
|
||||||
sabretools = pkgs.callPackage ./home/packages/sabretools/package.nix {};
|
sabretools = pkgs.callPackage ./home/packages/sabretools/package.nix {};
|
||||||
rom-properties = pkgs.callPackage ./home/packages/rom-properties/package.nix {};
|
rom-properties = pkgs.callPackage ./home/packages/rom-properties/package.nix {};
|
||||||
|
rom-properties_ninja = pkgs.callPackage ./home/packages/rom-properties/package.nix { useNinja = true; };
|
||||||
|
rom-properties_gtracker = pkgs.callPackage ./home/packages/rom-properties/package.nix { useTracker = true; };
|
||||||
|
rom-properties_ninja_gtracker = pkgs.callPackage ./home/packages/rom-properties/package.nix { useNinja = true; useTracker = true; };
|
||||||
new_rclone = pkgs.rclone.overrideAttrs (
|
new_rclone = pkgs.rclone.overrideAttrs (
|
||||||
oldAttrs: {
|
oldAttrs: {
|
||||||
patches = [ ./home/packages/new_rclone/patches/rclone_8ffe3e462cbf5688c37c54009db09d8dcb486860.diff ];
|
patches = [ ./home/packages/new_rclone/patches/rclone_8ffe3e462cbf5688c37c54009db09d8dcb486860.diff ];
|
||||||
|
|
|
@ -88,8 +88,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
|
|
||||||
|
@ -145,7 +143,7 @@ in
|
||||||
pkgs.rclone
|
pkgs.rclone
|
||||||
# Replaced with my_packages.new_rclone which is a patched build.
|
# Replaced with my_packages.new_rclone which is a patched build.
|
||||||
pkgs.screen
|
pkgs.screen
|
||||||
# Replaced with System `programs.screen.enable`
|
# Replaced with System-set "programs.screen.enable"
|
||||||
pkgs.terminator
|
pkgs.terminator
|
||||||
# Not needed on WSL, even though I'd like it on WSL sometimes.
|
# Not needed on WSL, even though I'd like it on WSL sometimes.
|
||||||
pkgs.yt-dlp
|
pkgs.yt-dlp
|
||||||
|
|
|
@ -30,7 +30,14 @@
|
||||||
[/modules/programs/zsh.nix]
|
[/modules/programs/zsh.nix]
|
||||||
https://github.com/nix-community/home-manager/issues/3521#issuecomment-1367197995
|
https://github.com/nix-community/home-manager/issues/3521#issuecomment-1367197995
|
||||||
[Issue #3521]
|
[Issue #3521]
|
||||||
|
|
||||||
|
06 June 2024:
|
||||||
|
Appears to be handled by "programs.zsh.enableCompletion" being enabled.
|
||||||
|
https://github.com/NixOS/nixpkgs/blob/49f6869f71fb2724674ccc18670bbde70843d43f/nixos/modules/programs/zsh/zsh.nix#L305
|
||||||
|
I appear to have "programs.zsh.enableCompletion" disabled for some reason?
|
||||||
|
Need to look into this again at some point, I suppose.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
"/share/zsh"
|
"/share/zsh"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue