1
Fork 0

feat: changed a lot of stuff

This commit is contained in:
Matei Adriel 2020-10-07 11:11:03 +03:00
parent 9a18f75bcb
commit 079813563c
11 changed files with 8699 additions and 786 deletions

View file

@ -13,6 +13,7 @@
"milkytracker",
"mklicense",
"pnpm",
"preact",
"rofi",
"xmonad"
]

View file

@ -11,8 +11,52 @@ in {
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
# home-manager.users.adrielus.home.packages = with pkgs; [ bluez bluez-tools ];
# Enable blueman
# services.blueman.enable = true;
hardware = {
pulseaudio = {
enable = true;
# NixOS allows either a lightweight build (default) or full build of PulseAudio to be installed.
# Only the full build has Bluetooth support, so it must be selected here.
package = pkgs.pulseaudioFull;
# Extra codecs
extraModules = [ pkgs.pulseaudio-modules-bt ];
};
# configFile = pkgs.writeText "default.pa" ''
# load-module module-bluetooth-policy
# load-module module-bluetooth-discover
# ## module fails to load with
# ## module-bluez5-device.c: Failed to get device path from module arguments
# ## module.c: Failed to load module "module-bluez5-device" (argument: ""): initialization failed.
# # load-module module-bluez5-device
# # load-module module-bluez5-discover
# '';
# extraConfig = ''
# load-module module-switch-on-connect
# '';
# };
# bluetooth = {
# enable = true;
# config."General"."Enable" = "Source,Sink,Media,Socket";
# };
};
# home-manager.users.adrielus.services.mpris-proxy = {
# Unit.Description = "Mpris proxy";
# Unit.After = [ "network.target" "sound.target" ];
# Service.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
# Install.WantedBy = [ "default.target" ];
# };
system.stateVersion = "20.03";
}

View file

@ -11,17 +11,24 @@
neofetch # display system information
xclip # copy paste stuff
feh # image viewer
unzip # for working with .zip files
speedtest-cli # test the internet speed and stuff
openssl
pkgconfig
ngrok
hugo
# editors
vscodium
# vscodium
vscode
vim
neovim
emacs
# vscode
# chat apps
discord
# discord-canary
deluge
slack
tdesktop # telegram for the desktop
zoom-us
@ -30,6 +37,7 @@
# browsers
google-chrome
brave
firefox
# other stuff
milkytracker # music tracker thingy
@ -40,5 +48,12 @@
libreoffice # free office suite
# edopro # yugioh simulator (my derivation doesn't work yet)
akonadi
obs-studio # video recorder
# blueman # bluetooth manager
# Nes emulators and stuff
zsnes
higan
fceux
];
}

View file

@ -5,7 +5,7 @@ in {
file.".ghci".source = ./ghci;
packages = with pkgs;
[ ghc ghcid hlint cabal-install snack stack hie ]
[ ghc ghcid hlint cabal-install snack stack ]
++ (with haskellPackages; [ brittany hoogle hpack pointfree ]);
};
}

View file

@ -1,7 +1,8 @@
{ pkgs, ... }:
let
fromNpm = import ./npm { inherit pkgs; };
node = pkgs.nodejs_latest;
node = pkgs.nodejs-12_x;
yarn = pkgs.yarn.override { nodejs = node; };
in {
home-manager.users.adrielus.home.packages = with pkgs;
with nodePackages;
@ -11,9 +12,13 @@ in {
node2nix
pnpm
(yarn.override { nodejs = node; })
yarn
tsdx
mklicense
preact-cli
create-next-app
create-snowpack-app
bower
];
}

View file

@ -1 +1,9 @@
["pnpm", "tsdx", "mklicense"]
[
"pnpm",
"tsdx",
"mklicense",
"preact-cli",
"create-next-app",
"create-snowpack-app",
"bower"
]

File diff suppressed because it is too large Load diff

View file

@ -4,6 +4,7 @@
spago
purty
pscid
pulp
zephyr
];
}

View file

@ -26,8 +26,10 @@ in {
# unstable stuff
brave = unstable.brave;
ngrok = unstable.ngrok;
vscodium = unstable.vscodium;
deno = unstable.deno;
discord-canary = unstable.discord-canary;
dotnet-sdk = dotnet-sdk_3;
elm-repl = unstable.haskellPackages.elm-repl;
})

View file

@ -5,7 +5,7 @@ with import ../secrets.nix; {
users.adrielus = {
inherit hashedPassword;
extraGroups = [ "wheel" "networkmanager" ];
extraGroups = [ "wheel" "networkmanager" "lp" ];
isNormalUser = true;
shell = pkgs.fish;
};

View file

@ -5,10 +5,10 @@
"homepage": "",
"owner": "nix-community",
"repo": "NUR",
"rev": "2df6e8d67087dceb3f0d98a4bafa73f492d91210",
"sha256": "1gk0jsj0ji3bq8wppq1c3bf31blkbila7pwmdvmbk3whgzgbdhk2",
"rev": "05a29a61a994685404ce141957c99ac65628ec25",
"sha256": "143nh2ag1dj67vg66wdmkscxa7xfic7balxg0hvymvhzzp18rbw2",
"type": "tarball",
"url": "https://github.com/nix-community/NUR/archive/2df6e8d67087dceb3f0d98a4bafa73f492d91210.tar.gz",
"url": "https://github.com/nix-community/NUR/archive/05a29a61a994685404ce141957c99ac65628ec25.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"agnoster": {
@ -29,10 +29,10 @@
"homepage": "",
"owner": "Infinisil",
"repo": "all-hies",
"rev": "4b6aab017cdf96a90641dc287437685675d598da",
"sha256": "0ap12mbzk97zmxk42fk8vqacyvpxk29r2wrnjqpx4m2w9g7gfdya",
"rev": "09ba836904fa290b5e37d5403150ea0c921661fb",
"sha256": "0qbjqv1fkhkx1cffqybz1mfks1jphh0vh3zd8ad2qd6lch4gyys4",
"type": "tarball",
"url": "https://github.com/Infinisil/all-hies/archive/4b6aab017cdf96a90641dc287437685675d598da.tar.gz",
"url": "https://github.com/Infinisil/all-hies/archive/09ba836904fa290b5e37d5403150ea0c921661fb.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"cached-nix-shell": {
@ -41,10 +41,10 @@
"homepage": "",
"owner": "xzfc",
"repo": "cached-nix-shell",
"rev": "4db8af0c653620e192c59d7d8ed227e4ffd8f54c",
"sha256": "1ni671wr2lrvyz6myaz3v4llrjvq4jc1ygw1m7rvnadzyf3va3lw",
"rev": "48dbef37bec653e23c1801cea3979f053e10654b",
"sha256": "0w6khry1ncyqy5h6996xw1f6viw4wdrfji5m8lz9gm487xlq5v0b",
"type": "tarball",
"url": "https://github.com/xzfc/cached-nix-shell/archive/4db8af0c653620e192c59d7d8ed227e4ffd8f54c.tar.gz",
"url": "https://github.com/xzfc/cached-nix-shell/archive/48dbef37bec653e23c1801cea3979f053e10654b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"easy-purescript-nix": {
@ -53,10 +53,10 @@
"homepage": "",
"owner": "justinwoo",
"repo": "easy-purescript-nix",
"rev": "47507b27e15a9c3b929111cf43d2e9c0e4b97f4c",
"sha256": "0gnwymgm4i5y9vknpcsr99pwy76w14nclqxb6xmmzlw2s8fx85hm",
"rev": "7ff5a12af5750f94d0480059dba0ba6b82c6c452",
"sha256": "0af25dqhs13ii4mx9jjkx2pww4ddbs741vb5gfc5ckxb084d69fq",
"type": "tarball",
"url": "https://github.com/justinwoo/easy-purescript-nix/archive/47507b27e15a9c3b929111cf43d2e9c0e4b97f4c.tar.gz",
"url": "https://github.com/justinwoo/easy-purescript-nix/archive/7ff5a12af5750f94d0480059dba0ba6b82c6c452.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"home-manager": {
@ -65,10 +65,10 @@
"homepage": "https://rycee.gitlab.io/home-manager/",
"owner": "rycee",
"repo": "home-manager",
"rev": "d8fdbbdf03617de1015d1c10fe3bd6ecc5cdce77",
"sha256": "107cbxpmbkvbi9qfqfjp9af7p6xkfs6sz5flbjg7prqp2q5q6c8h",
"rev": "318bc0754ed6370cfcae13183a7f13f7aa4bc73f",
"sha256": "0hgn85yl7gixw1adjfa9nx8axmlpw5y1883lzg3zigknx6ff5hsr",
"type": "tarball",
"url": "https://github.com/rycee/home-manager/archive/d8fdbbdf03617de1015d1c10fe3bd6ecc5cdce77.tar.gz",
"url": "https://github.com/rycee/home-manager/archive/318bc0754ed6370cfcae13183a7f13f7aa4bc73f.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"niv": {
@ -77,10 +77,10 @@
"homepage": "https://github.com/nmattia/niv",
"owner": "nmattia",
"repo": "niv",
"rev": "f73bf8d584148677b01859677a63191c31911eae",
"sha256": "0jlmrx633jvqrqlyhlzpvdrnim128gc81q5psz2lpp2af8p8q9qs",
"rev": "303f442c43f918bc43400ab4a0b662a82ca7748b",
"sha256": "19z1qypd6zd4qzhrhjm7j55v85fzf8wln8l9vslvn9dpspcwxv7c",
"type": "tarball",
"url": "https://github.com/nmattia/niv/archive/f73bf8d584148677b01859677a63191c31911eae.tar.gz",
"url": "https://github.com/nmattia/niv/archive/303f442c43f918bc43400ab4a0b662a82ca7748b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs": {
@ -89,10 +89,10 @@
"homepage": "https://github.com/NixOS/nixpkgs",
"owner": "NixOS",
"repo": "nixpkgs-channels",
"rev": "f8248ab6d9e69ea9c07950d73d48807ec595e923",
"sha256": "009i9j6mbq6i481088jllblgdnci105b2q4mscprdawg3knlyahk",
"rev": "0c0fe6d85b92c4e992e314bd6f9943413af9a309",
"sha256": "03q0dzxpd55xmvxzr963hv3nxh57m5d7sgiw5kvhpms1hf8lwd4r",
"type": "tarball",
"url": "https://github.com/NixOS/nixpkgs-channels/archive/f8248ab6d9e69ea9c07950d73d48807ec595e923.tar.gz",
"url": "https://github.com/NixOS/nixpkgs-channels/archive/0c0fe6d85b92c4e992e314bd6f9943413af9a309.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"nixpkgs-unstable": {
@ -101,10 +101,10 @@
"homepage": "https://github.com/NixOS/nixpkgs",
"owner": "nixos",
"repo": "nixpkgs-channels",
"rev": "22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1",
"sha256": "14gx5fsqibdn2cxp7gymfrz2vcnwiwwjnxqlnysczz8dqihnrpa7",
"rev": "8e2b14aceb1d40c7e8b84c03a7c78955359872bb",
"sha256": "0zzjpd9smr7rxzrdf6raw9kbj42fbvafxb5bz36lcxgv290pgsm8",
"type": "tarball",
"url": "https://github.com/nixos/nixpkgs-channels/archive/22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1.tar.gz",
"url": "https://github.com/nixos/nixpkgs-channels/archive/8e2b14aceb1d40c7e8b84c03a7c78955359872bb.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"snack": {