Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
takeokunn committed Jul 26, 2024
1 parent 1b5d9be commit e124183
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 100 deletions.
2 changes: 2 additions & 0 deletions devenv.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{ pkgs, config, inputs, ... }: {
cachix.enable = false;

packages = with pkgs; [ nixfmt-classic ];

languages.javascript = {
Expand Down
93 changes: 33 additions & 60 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
emacs-overlay.url = "github:nix-community/emacs-overlay";
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nix-darwin = {
url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nix-on-droid = {
url = "github:nix-community/nix-on-droid/release-23.11";
url = "github:nix-community/nix-on-droid/master";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
Expand Down
43 changes: 6 additions & 37 deletions nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
enableIPv6 = true;
};

time = { timeZone = "Asia/Tokyo"; };
time.timeZone = "Asia/Tokyo";

i18n = {
defaultLocale = "en_US.UTF-8";
Expand All @@ -31,10 +31,8 @@
services = {
xserver = {
enable = true;
displayManager = {
gdm.enable = true;
# gnome.enable = true;
};
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;

xkb = {
layout = "jp";
Expand All @@ -43,27 +41,11 @@
};

};

tlp.enable = true;
printing.enable = true;

pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
};

console = { keyMap = "jp106"; };

sound = { enable = true; };
console.keyMap = "jp106";

hardware = {
opengl.enable = true;
bluetooth.enable = true;
};
hardware.bluetooth.enable = true;

security = {
rtkit.enable = true;
Expand All @@ -86,20 +68,7 @@
};
nixpkgs = { config.allowUnfree = true; };

programs = {
fish.enable = true;
gnupg.agent.enable = true;

sway = {
enable = true;
xwayland.enable = true;
};
waybar.enable = true;
};

system = {
stateVersion = "24.11";
};
system.stateVersion = "24.11";

fonts = {
fontDir.enable = true;
Expand Down

0 comments on commit e124183

Please sign in to comment.