mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
fix error
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
NixOS + Home Manager
|
NixOS + Home Manager
|
||||||
|
|
||||||
## Pickup Software
|
## Pickup Software
|
||||||
|
|
||||||
- Window Manager: Niri
|
- Window Manager: Niri
|
||||||
- Lancher: Vicinae
|
- Lancher: Vicinae
|
||||||
- Bar: Noctalia
|
- Bar: Noctalia
|
||||||
@@ -9,24 +11,29 @@ NixOS + Home Manager
|
|||||||
- Terminal: ghostty, oh-my-zsh
|
- Terminal: ghostty, oh-my-zsh
|
||||||
|
|
||||||
## Directory Structure
|
## Directory Structure
|
||||||
|
|
||||||
- hosts/{host-name}<br/>
|
- hosts/{host-name}<br/>
|
||||||
Hardware-specific configurations that abstract differences between hardware. Keep these minimal. Add new configurations when running NixOS on new hardware without existing support.
|
Hardware-specific configurations that abstract differences between hardware. Keep these minimal. Add new configurations when running NixOS on new hardware without existing support.
|
||||||
- default.nix<br/>
|
- default.nix<br/>
|
||||||
Moved from `/etc/nixos/configuration.nix`
|
Moved from `/etc/nixos/configuration.nix`
|
||||||
- hardware-configuration.nix<br/>
|
- hardware-configuration.nix<br/>
|
||||||
Run `sudo nixos-generate-config` or moved from `/etc/nixos/hardware-configuration.nix`
|
Run `sudo nixos-generate-config` or moved from `/etc/nixos/hardware-configuration.nix`
|
||||||
- variables.nix<br/>
|
- variables.nix<br/>
|
||||||
Config
|
Config
|
||||||
- images
|
- images
|
||||||
- modules
|
- modules
|
||||||
- core<br/>
|
- core<br/>
|
||||||
Files related to NixOS configuration
|
Files related to NixOS configuration
|
||||||
- drivers<br/>
|
- drivers<br/>
|
||||||
Files related to drivers such as GPUs
|
Files related to drivers such as GPUs
|
||||||
- home<br/>
|
- home<br/>
|
||||||
Home-manager configuration files
|
Home-manager configuration files
|
||||||
- profiles<br/>
|
- profiles<br/>
|
||||||
Build configurations for each environment by combining NixOS configurations and home-manager configurations.
|
Build configurations for each environment by combining NixOS configurations and home-manager configurations.
|
||||||
- shells<br/>
|
- shells<br/>
|
||||||
Shell environment.
|
Shell environment.
|
||||||
- wallpapers
|
- wallpapers
|
||||||
|
|
||||||
|
## Inspired
|
||||||
|
|
||||||
|
- [Zaney/zaneyos](https://gitlab.com/Zaney/zaneyos)
|
||||||
|
|||||||
Generated
+5
-70
@@ -20,7 +20,9 @@
|
|||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1758463745,
|
"lastModified": 1758463745,
|
||||||
@@ -37,21 +39,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"impermanence": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1737831083,
|
|
||||||
"narHash": "sha256-LJggUHbpyeDvNagTUrdhe/pRVp4pnS6wVKALS782gRI=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "impermanence",
|
|
||||||
"rev": "4b3e914cdf97a5b536a889e939fb2fd2b043a170",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "impermanence",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760958188,
|
"lastModified": 1760958188,
|
||||||
@@ -101,38 +88,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1761173472,
|
|
||||||
"narHash": "sha256-m9W0dYXflzeGgKNravKJvTMR4Qqa2MVD11AwlGMufeE=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "c8aa8cc00a5cb57fada0851a038d35c08a36a2bb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-25.05",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1760596604,
|
|
||||||
"narHash": "sha256-J/i5K6AAz/y5dBePHQOuzC7MbhyTOKsd/GLezSbEFiM=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "3cbe716e2346710d6e1f7c559363d14e11c32a43",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_4": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1759036355,
|
"lastModified": 1759036355,
|
||||||
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
||||||
@@ -151,32 +106,12 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"impermanence": "impermanence",
|
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"sops-nix": "sops-nix",
|
|
||||||
"vicinae": "vicinae"
|
"vicinae": "vicinae"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sops-nix": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1760998189,
|
|
||||||
"narHash": "sha256-ee2e1/AeGL5X8oy/HXsZQvZnae6XfEVdstGopKucYLY=",
|
|
||||||
"owner": "Mic92",
|
|
||||||
"repo": "sops-nix",
|
|
||||||
"rev": "5a7d18b5c55642df5c432aadb757140edfeb70b3",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Mic92",
|
|
||||||
"repo": "sops-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
@@ -195,7 +130,7 @@
|
|||||||
"vicinae": {
|
"vicinae": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761455154,
|
"lastModified": 1761455154,
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./profiles/${profile}.nix
|
./profiles/${profile}.nix
|
||||||
|
./hosts/${host}
|
||||||
] ++ extraModules;
|
] ++ extraModules;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
|
||||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-9th-gen
|
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-9th-gen
|
||||||
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|||||||
@@ -12,5 +12,4 @@
|
|||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
bluetooth.powerOnBoot = true;
|
bluetooth.powerOnBoot = true;
|
||||||
};
|
};
|
||||||
local.hardware-clock.enable = false;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
Name = "mozc";
|
Name = "mozc";
|
||||||
Layout = "";
|
Layout = "";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
};
|
};
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
}
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
@@ -31,7 +31,6 @@
|
|||||||
curl # Tool For Fetching Files With Links
|
curl # Tool For Fetching Files With Links
|
||||||
alacritty # A GPU Accelerated Terminal Emulator
|
alacritty # A GPU Accelerated Terminal Emulator
|
||||||
fuzzel # A Simple And Lightweight Application Launcher
|
fuzzel # A Simple And Lightweight Application Launcher
|
||||||
msedit # A Simple Text Editor Inspired By Windows Notepad
|
|
||||||
git # Version Control System
|
git # Version Control System
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
{
|
{
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
home-manager = {
|
home-manager = {
|
||||||
enable = true;
|
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = false;
|
useGlobalPkgs = false;
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
|
|||||||
Reference in New Issue
Block a user